Merge pull request #318 from vector-im/bwindels/avoid_bogus_notifs

opt-out for unread count notifications, which cause bogus notifs
This commit is contained in:
Bruno Windels 2021-04-07 12:41:28 +00:00 committed by GitHub
commit ced98d02d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(