From b3411ac3b0dcbf56c9cbf49f139326ba78d2451c Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 17 Mar 2024 09:21:56 +0000 Subject: [PATCH] fix #849 --- src/components/App/App.tsx | 1 + 1 file changed, 1 insertion(+) 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') ) {