dkforest

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

commit 508d46fc0f1b4e90a47d9b4d97e9a8c3a788bffb
parent 0f588d2c7a716749923b190ede33519b5de06271
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 14 Jan 2024 21:25:46 -0800

set back msgs limit to 150

Diffstat:
Mpkg/web/handlers/api/v1/chat.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/api/v1/chat.go b/pkg/web/handlers/api/v1/chat.go @@ -161,7 +161,7 @@ func ChatStreamMessagesHandler(c echo.Context) error { displayHellbanned := authUser.DisplayHellbanned || authUser.IsHellbanned displayIgnoredMessages := utils.False() msgs, err := db.GetChatMessages(room.ID, roomKey, authUser.Username, authUser.ID, pmUserID, pmOnlyQuery, mentionsOnlyQuery, - displayHellbanned, authUser.DisplayIgnored, authUser.DisplayModerators, displayIgnoredMessages, 500, 0) + displayHellbanned, authUser.DisplayIgnored, authUser.DisplayModerators, displayIgnoredMessages, 150, 0) if err != nil { return c.Redirect(http.StatusFound, "/") }