Banned and chat disconnected states will hide chat. Closes #2764
This commit is contained in:
@@ -199,7 +199,7 @@ export const Content: FC = () => {
|
||||
setSupportsBrowserNotifications(isPushNotificationSupported() && browserNotificationsEnabled);
|
||||
}, [browserNotificationsEnabled]);
|
||||
|
||||
const showChat = !chatDisabled && isChatAvailable && isChatVisible;
|
||||
const showChat = online && !chatDisabled && isChatVisible;
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user