Fixes silenced notification preventing notification prompt to be shown (#9336)

This commit is contained in:
Germain
2022-09-30 16:11:04 +01:00
committed by GitHub
parent a704a2fbb7
commit c2e2f406af
7 changed files with 10 additions and 75 deletions

View File

@@ -336,7 +336,7 @@ export const Notifier = {
}
const isGuest = client.isGuest();
return !isGuest && this.supportsDesktopNotifications() && !isPushNotifyDisabled() &&
!localNotificationsAreSilenced(client) && !this.isEnabled() && !this._isPromptHidden();
!this.isEnabled() && !this._isPromptHidden();
},
_isPromptHidden: function() {