mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +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()) {
|
||||
return;
|
||||
}
|
||||
if (global.document.hasFocus()) {
|
||||
return;
|
||||
}
|
||||
|
||||
let msg = this.notificationMessageForEvent(ev);
|
||||
if (!msg) return;
|
||||
|
Loading…
Reference in New Issue
Block a user