fix(chat): fix bot status not showing. Closes #3046
This commit is contained in:
@@ -304,7 +304,7 @@ export const ClientConfigStore: FC = () => {
|
||||
);
|
||||
if (message as ChatEvent) {
|
||||
const m = new ChatEvent(message);
|
||||
if (!hasBeenModeratorNotified && m.user?.isModerator()) {
|
||||
if (!hasBeenModeratorNotified && m.user?.isModerator) {
|
||||
setChatMessages(currentState => [...currentState, message as ChatEvent]);
|
||||
hasBeenModeratorNotified = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user