mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
opt-out for unread count notifications, which cause bogus notifs
This commit is contained in:
parent
cd93077731
commit
ca9663d2f5
@ -32,6 +32,9 @@ export class NotificationService {
|
|||||||
const data = {
|
const data = {
|
||||||
endpoint: subscriptionData.endpoint,
|
endpoint: subscriptionData.endpoint,
|
||||||
auth: subscriptionData.keys.auth,
|
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
|
default_payload: defaultPayload
|
||||||
};
|
};
|
||||||
return pusherFactory.httpPusher(
|
return pusherFactory.httpPusher(
|
||||||
|
Loading…
Reference in New Issue
Block a user