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:
parent
43d6f842e3
commit
3ef2922390
1 changed files with 3 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Reference in a new issue