diff --git a/js/notifications.js b/js/notifications.js index 4e0dcf637c..479b7bb886 100644 --- a/js/notifications.js +++ b/js/notifications.js @@ -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,