commit 326ce78fe189626b81c05d884dddbb58551d3b74 parent 2d14513db8c1beba83176dc464fe37f9023d74eb Author: n0tr1v <n0tr1v@protonmail.com> Date: Thu, 8 Jun 2023 01:15:34 -0700 doc Diffstat:
| M | pkg/web/handlers/api/v1/chatControlsHandler.go | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/pkg/web/handlers/api/v1/chatControlsHandler.go b/pkg/web/handlers/api/v1/chatControlsHandler.go @@ -7,6 +7,9 @@ import ( "net/http" ) +// Handle the forms/actions in the chat controls, bottom of the page, iframe. +// Such as toggle "@"/"PM"/"Ignored"/"afk"... + func ChatControlsHandler(c echo.Context) error { authUser := c.Get("authUser").(*database.User) db := c.Get("database").(*database.DkfDB)