diff options
Diffstat (limited to 'ui/service-worker.js')
| -rw-r--r-- | ui/service-worker.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/service-worker.js b/ui/service-worker.js index 81d0752..8a889ec 100644 --- a/ui/service-worker.js +++ b/ui/service-worker.js @@ -27,6 +27,7 @@ function countUnreadChannels() { self.addEventListener('push', (event) => { const data = event.data.json(); + if (data.type === 'heartbeat') { // Let's show a notification right away so Safari doesn't tell Apple to be // mad at us: |
