You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Show notifications even when Element is focused (#8590)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user