remove follow action

This commit is contained in:
tamaina
2021-09-21 03:05:23 +09:00
parent e8db277589
commit defbb41648
3 changed files with 0 additions and 14 deletions

View File

@@ -108,9 +108,6 @@ self.addEventListener('notificationclick', <K extends keyof pushNotificationData
switch (data.type) {
case 'notification':
switch (action) {
case 'follow':
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);
break;