mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-22 08:53:02 +01:00
attempt at fixing the extra notification again
This commit is contained in:
parent
b394392d0d
commit
99d04bed2b
@ -28,7 +28,7 @@ function subscribePush (registration, isEnabled, vapidPublicKey) {
|
||||
if (!vapidPublicKey) return Promise.reject(new Error('VAPID public key is not found'))
|
||||
|
||||
const subscribeOptions = {
|
||||
userVisibleOnly: true,
|
||||
userVisibleOnly: false,
|
||||
applicationServerKey: urlBase64ToUint8Array(vapidPublicKey)
|
||||
}
|
||||
return registration.pushManager.subscribe(subscribeOptions)
|
||||
|
Loading…
Reference in New Issue
Block a user