This commit is contained in:
tamaina
2021-09-21 02:08:02 +09:00
parent 74dc874110
commit 1c49074ea2
2 changed files with 22 additions and 14 deletions

View File

@@ -88,16 +88,6 @@ self.addEventListener('push', ev => {
}
createEmptyNotification();
setTimeout(async () => {
for (const n of
[
...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })),
...(await self.registration.getNotifications({ tag: 'read_notification' }))
]
) {
n.close();
}
}, 1000);
}));
});
//#endregion