logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 1b7e930b2e850408f46876395a85628b05729cc9
parent 73fbe89a4b4e545796e9cc6aae707de0a4eed3a1
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 25 Oct 2023 19:35:44 +0300

oops

Diffstat:

Msrc/sw.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sw.js b/src/sw.js @@ -62,7 +62,7 @@ self.addEventListener('message', async (event) => { const { title, body, icon, id } = content if (state.notificationIds.has(id)) return state.notificationIds.add(id) - setTimeout(() => state.notificationIds.remove(id), 10000) + setTimeout(() => state.notificationIds.delete(id), 10000) self.registration.showNotification('SWTEST: ' + title, { body, icon }) }