service worker: don't trigger "push notifications have been updated"

closes FoundKeyGang/FoundKey#121

Changelog: Fixed
This commit is contained in:
Johann150 2022-11-12 22:33:57 +01:00
parent a3468491a7
commit 80af8a143e
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -1,6 +1,6 @@
declare var self: ServiceWorkerGlobalScope;
import { createEmptyNotification, createNotification } from '@/scripts/create-notification';
import { createNotification } from '@/scripts/create-notification';
import { swLang } from '@/scripts/lang';
import { swNotificationRead } from '@/scripts/notification-read';
import { pushNotificationDataMap } from '@/types';
@ -67,8 +67,6 @@ self.addEventListener('push', ev => {
}
break;
}
return createEmptyNotification();
}));
});