Merge pull request #2845 from matrix-org/bwindels/notifier-this
Notifier is how singleton is known outside of this modulepull/21833/head
commit
1f084b2ffc
|
@ -226,8 +226,8 @@ const Notifier = {
|
|||
return false;
|
||||
}
|
||||
const isGuest = client.isGuest();
|
||||
return !isGuest && Notifier.supportsDesktopNotifications() &&
|
||||
!Notifier.isEnabled() && !Notifier._isToolbarHidden();
|
||||
return !isGuest && this.supportsDesktopNotifications() &&
|
||||
!this.isEnabled() && !this._isToolbarHidden();
|
||||
},
|
||||
|
||||
_isToolbarHidden: function() {
|
||||
|
|
Loading…
Reference in New Issue