From 2b757b121e78f898c3b3ecc63c6ed9efbca6136e Mon Sep 17 00:00:00 2001 From: fabio Date: Sat, 10 Oct 2026 16:33:47 +0200 Subject: [PATCH] fix: treat ADMIN_ALERT message type as standard message in chatlog broadcaster --- broadcasters/chatlog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadcasters/chatlog.go b/broadcasters/chatlog.go index a639851..1e9ea3b 100644 --- a/broadcasters/chatlog.go +++ b/broadcasters/chatlog.go @@ -42,7 +42,7 @@ func AddChatLog(ctx context.Context, id string, p *AddChatLogParams) (*ChatLogEn } msgType := strings.ToUpper(strings.TrimSpace(p.Type)) - if msgType == "" { + if msgType == "" || msgType == "ADMIN_ALERT" { msgType = "MESSAGE" } else if msgType == "ALERT" { msgType = "ALLERT"