Follow-up
This commit is contained in:
parent
803baf141f
commit
e9e1b6a442
@ -247,7 +247,7 @@ function checkIfShouldNotify(chat: ApiChat) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return document.hasFocus();
|
return !document.hasFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNotificationContent(chat: ApiChat, message: ApiMessage) {
|
function getNotificationContent(chat: ApiChat, message: ApiMessage) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user