mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Show notifications even when Element is focused (#8590)
This commit is contained in:
parent
3f2f839b3b
commit
395b167b20
@ -95,9 +95,6 @@ export const Notifier = {
|
|||||||
if (!plaf.supportsNotifications() || !plaf.maySendNotifications()) {
|
if (!plaf.supportsNotifications() || !plaf.maySendNotifications()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (global.document.hasFocus()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let msg = this.notificationMessageForEvent(ev);
|
let msg = this.notificationMessageForEvent(ev);
|
||||||
if (!msg) return;
|
if (!msg) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user