diff --git a/src/components/App/App.tsx b/src/components/App/App.tsx index 315ef0485a..6f241d4e66 100644 --- a/src/components/App/App.tsx +++ b/src/components/App/App.tsx @@ -618,6 +618,7 @@ export default class App extends React.Component { socket.on('REC:chat', (data: ChatMessage) => { if ( !getCurrentSettings().disableChatSound && + !data.system && ((document.visibilityState && document.visibilityState !== 'visible') || this.state.currentTab !== 'chat') ) {