1
0
forked from mirror/misskey
This commit is contained in:
tamaina 2021-09-21 02:38:34 +09:00
parent bfbc3811ed
commit 25f92c60d4

View File

@ -109,7 +109,7 @@ self.addEventListener('notificationclick', <K extends keyof pushNotificationData
case 'notification':
switch (action) {
case 'follow':
if ('userId' in data.body)await swos.api('following/create', id, { userId: data.body.userId });
if ('userId' in data.body) await swos.api('following/create', id, { userId: data.body.userId });
break;
case 'showUser':
if ('user' in data.body) client = await swos.openUser(getAcct(data.body.user), id);