From ca9663d2f59c6b0ee66a32aa70955b92b9aa7380 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 7 Apr 2021 14:37:46 +0200 Subject: [PATCH] opt-out for unread count notifications, which cause bogus notifs --- src/platform/web/dom/NotificationService.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/web/dom/NotificationService.js b/src/platform/web/dom/NotificationService.js index 151ccaf0..86b2ca69 100644 --- a/src/platform/web/dom/NotificationService.js +++ b/src/platform/web/dom/NotificationService.js @@ -32,6 +32,9 @@ export class NotificationService { const data = { endpoint: subscriptionData.endpoint, auth: subscriptionData.keys.auth, + // don't deliver unread count push messages + // as we don't want to show a notification in this case + events_only: true, default_payload: defaultPayload }; return pusherFactory.httpPusher(