mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Follow-up
This commit is contained in:
parent
803baf141f
commit
e9e1b6a442
@ -247,7 +247,7 @@ function checkIfShouldNotify(chat: ApiChat) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return document.hasFocus();
|
||||
return !document.hasFocus();
|
||||
}
|
||||
|
||||
function getNotificationContent(chat: ApiChat, message: ApiMessage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user