dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit c7d730506c8a85a6e496b0480ef0557acadaaad2
parent 4c9962e6b4fa01c1748c14d604ca5d760b83b17f
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 24 May 2023 09:42:23 -0700

fix HB filter for stream

Diffstat:
Mpkg/web/handlers/handlers.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go @@ -5063,6 +5063,10 @@ Loop: continue } + if !displayHellbanned && msg.IsHellbanned { + continue + } + if !authUser.DisplayIgnored { ignoredUsers, _ := db.GetIgnoredUsersUsernames(authUser.ID) if utils.InArr(msg.User.Username, ignoredUsers) {