Improve window activity detection, improving notification delivery
This commit is contained in:
parent
be9721c72d
commit
8ace4b6321
7 changed files with 290 additions and 46 deletions
|
@ -89,12 +89,19 @@
|
|||
});
|
||||
|
||||
if (status.type !== 'ok') {
|
||||
window.log.info(
|
||||
`Not updating notifications; notification status is ${status.type}. ${
|
||||
status.shouldClearNotifications ? 'Also clearing notifications' : ''
|
||||
}`
|
||||
);
|
||||
|
||||
if (status.shouldClearNotifications) {
|
||||
this.notificationData = null;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
window.log.info('Showing a notification');
|
||||
|
||||
let notificationTitle;
|
||||
let notificationMessage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue