1
0
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:
Henry Jameson 2023-12-13 22:04:00 +02:00
parent b394392d0d
commit 99d04bed2b

View File

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