commit c60bb36698471bd61e4c2f5a3164c80911ba353a
parent c646d6670013c590874cc200f7ff920aef0c0d59
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Wed, 24 May 2023 00:38:28 -0700
space
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/chat.go b/pkg/web/handlers/chat.go
@@ -16,7 +16,7 @@ func chatHandler(c echo.Context, redRoom, stream bool) error {
// WARNING: in this handler, "authUser" can be null.
authUser := c.Get("authUser").(*database.User)
-
+
db := c.Get("database").(*database.DkfDB)
if !stream && authUser != nil {