diff --git a/core/chat/events.go b/core/chat/events.go index 9277c556d..c8298e7e9 100644 --- a/core/chat/events.go +++ b/core/chat/events.go @@ -80,6 +80,11 @@ func (s *ChatServer) userMessageSent(eventData chatClientEvent) { return } + // Ignore if the stream in offline + if !getStatus().Online { + return + } + event.User = user.GetUserByToken(eventData.client.accessToken) // Guard against nil users