Merge pull request #2845 from matrix-org/bwindels/notifier-this
Notifier is how singleton is known outside of this module
This commit is contained in:
commit
1f084b2ffc
1 changed files with 2 additions and 2 deletions
|
@ -226,8 +226,8 @@ const Notifier = {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const isGuest = client.isGuest();
|
const isGuest = client.isGuest();
|
||||||
return !isGuest && Notifier.supportsDesktopNotifications() &&
|
return !isGuest && this.supportsDesktopNotifications() &&
|
||||||
!Notifier.isEnabled() && !Notifier._isToolbarHidden();
|
!this.isEnabled() && !this._isToolbarHidden();
|
||||||
},
|
},
|
||||||
|
|
||||||
_isToolbarHidden: function() {
|
_isToolbarHidden: function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue