Skip to content

Commit 3e7c67a

Browse files
notification sound fixed
1 parent 5ca222a commit 3e7c67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/state/Notifications/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class Notifications extends EventEmitter {
260260
window.getElectronShowStatus()) &&
261261
!$('body').hasClass('modal-open') &&
262262
((!mEvent.thread && navigation.selectedRoomId === room.roomId) ||
263-
navigation.selectedThreadId === mEvent.thread.id) &&
263+
(mEvent.thread && navigation.selectedThreadId === mEvent.thread.id)) &&
264264
document.visibilityState === 'visible' &&
265265
!$('body').hasClass('windowHidden')
266266
)

0 commit comments

Comments
 (0)