We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca222a commit 3e7c67aCopy full SHA for 3e7c67a
src/client/state/Notifications/index.js
@@ -260,7 +260,7 @@ class Notifications extends EventEmitter {
260
window.getElectronShowStatus()) &&
261
!$('body').hasClass('modal-open') &&
262
((!mEvent.thread && navigation.selectedRoomId === room.roomId) ||
263
- navigation.selectedThreadId === mEvent.thread.id) &&
+ (mEvent.thread && navigation.selectedThreadId === mEvent.thread.id)) &&
264
document.visibilityState === 'visible' &&
265
!$('body').hasClass('windowHidden')
266
)
0 commit comments