summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/service-worker.js1
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: