diff --git a/web/components/stores/ClientConfigStore.tsx b/web/components/stores/ClientConfigStore.tsx index b86fe0f54..fd3bc5fa0 100644 --- a/web/components/stores/ClientConfigStore.tsx +++ b/web/components/stores/ClientConfigStore.tsx @@ -292,7 +292,10 @@ export const ClientConfigStore: FC = () => { setChatAuthenticated, setCurrentUser, ); - if (!hasBeenModeratorNotified) { + if ( + !hasBeenModeratorNotified && + (message as ChatEvent).user?.scopes.includes('MODERATOR') + ) { setChatMessages(currentState => [...currentState, message as ChatEvent]); hasBeenModeratorNotified = true; }