Draw attention even if notifications are disabled
This commit is contained in:
parent
e2392433e0
commit
6323aedd9b
1 changed files with 8 additions and 8 deletions
|
@ -124,6 +124,14 @@
|
|||
userSetting,
|
||||
});
|
||||
|
||||
const shouldDrawAttention = storage.get(
|
||||
'notification-draw-attention',
|
||||
true
|
||||
);
|
||||
if (shouldDrawAttention) {
|
||||
drawAttention();
|
||||
}
|
||||
|
||||
if (status.type !== 'ok') {
|
||||
window.log.info(
|
||||
`Not updating notifications; notification status is ${status.type}. ${
|
||||
|
@ -191,14 +199,6 @@
|
|||
notificationMessage = i18n('newMessage');
|
||||
}
|
||||
|
||||
const shouldDrawAttention = storage.get(
|
||||
'notification-draw-attention',
|
||||
true
|
||||
);
|
||||
if (shouldDrawAttention) {
|
||||
drawAttention();
|
||||
}
|
||||
|
||||
this.lastNotification = window.Signal.Services.notify({
|
||||
title: notificationTitle,
|
||||
icon: notificationIconUrl,
|
||||
|
|
Loading…
Add table
Reference in a new issue