pollEnded
This commit is contained in:
		| @@ -131,6 +131,12 @@ async function composeNotification<K extends keyof pushNotificationDataMap>(data | |||||||
| 						data, | 						data, | ||||||
| 					}]; | 					}]; | ||||||
|  |  | ||||||
|  | 				case 'pollEnded': | ||||||
|  | 					return [t('_notification.pollEnded'), { | ||||||
|  | 						body: data.body.note.text || '', | ||||||
|  | 						data, | ||||||
|  | 					}]; | ||||||
|  |  | ||||||
| 				case 'receiveFollowRequest': | 				case 'receiveFollowRequest': | ||||||
| 					return [t('_notification.youReceivedFollowRequest'), { | 					return [t('_notification.youReceivedFollowRequest'), { | ||||||
| 						body: getUserName(data.body.user), | 						body: getUserName(data.body.user), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 tamaina
					tamaina