1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-24 13:19:29 -05:00

add edited in sw

This commit is contained in:
fly_mc 2024-10-24 00:15:09 +08:00
parent 43d6f842e3
commit 3ef2922390

View file

@ -134,6 +134,9 @@ globalThis.addEventListener('notificationclick', (ev: ServiceWorkerGlobalScopeEv
case 'showFollowRequests':
client = await swos.openClient('push', '/my/follow-requests', loginId);
break;
case 'edited':
if ('note' in data.body) client = await swos.openPost({ reply: data.body.note }, loginId);
break;
default:
switch (data.body.type) {
case 'receiveFollowRequest':