commit 1d997a4501521a73405ffb99416e5f855db6bf6a
parent 5e01f89ec20bac733fa82427405389799211243f
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Mon, 12 Jun 2023 21:22:04 -0700
fix doc
Diffstat:
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
@@ -17,7 +17,7 @@ import (
"time"
)
-// Returns either or not authUser is allowed to see msg
+// VerifyMsgAuth returns either or not authUser is allowed to see msg
func VerifyMsgAuth(db *database.DkfDB, authUser *database.User, msg *database.ChatMessage) bool {
// Verify moderators channel authorization
if msg.Moderators && !authUser.IsModerator() {