dkforest

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

commit 8b481f3966c3ada6d1e0addababda0d2ecbdcb45
parent 6045630f3318e95b44ff199f0e45b640badf570e
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 24 May 2023 23:42:43 -0700

cleanup

Diffstat:
Mpkg/web/handlers/handlers.go | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go @@ -5114,12 +5114,7 @@ Loop: continue } - if topic == selfRefreshTopic { - send(`<meta http-equiv="refresh" content="0" />`) - return nil - } - - if msgTyp.Typ == database.ForceRefresh { + if topic == selfRefreshTopic || msgTyp.Typ == database.ForceRefresh { send(`<meta http-equiv="refresh" content="0" />`) return nil }