pollEnded
This commit is contained in:
parent
95e3056c0e
commit
c518fa8cd7
1 changed files with 6 additions and 0 deletions
|
@ -131,6 +131,12 @@ async function composeNotification<K extends keyof pushNotificationDataMap>(data
|
|||
data,
|
||||
}];
|
||||
|
||||
case 'pollEnded':
|
||||
return [t('_notification.pollEnded'), {
|
||||
body: data.body.note.text || '',
|
||||
data,
|
||||
}];
|
||||
|
||||
case 'receiveFollowRequest':
|
||||
return [t('_notification.youReceivedFollowRequest'), {
|
||||
body: getUserName(data.body.user),
|
||||
|
|
Loading…
Reference in a new issue