Add support for Iceshrimp.NET emoji reaction notifications
This commit is contained in:
committed by
nicole mikołajczyk
parent
5d0c86b3ce
commit
005a6b09b1
@ -101,6 +101,8 @@ const notificationSchema: v.BaseSchema<any, Notification, v.BaseIssue<unknown>>
|
||||
...notification,
|
||||
type: notification.type === 'pleroma:report'
|
||||
? 'admin.report'
|
||||
: notification.type === 'reaction'
|
||||
? 'emoji_reaction'
|
||||
: notification.type?.replace(/^pleroma:/, ''),
|
||||
})),
|
||||
v.variant('type', [
|
||||
|
||||
@ -36,7 +36,7 @@ const NOTIFICATIONS_SCROLL_TOP = 'NOTIFICATIONS_SCROLL_TOP' as const;
|
||||
const FILTER_TYPES = {
|
||||
all: undefined,
|
||||
mention: ['mention'],
|
||||
favourite: ['favourite', 'emoji_reaction'],
|
||||
favourite: ['favourite', 'emoji_reaction', 'reaction'],
|
||||
reblog: ['reblog'],
|
||||
poll: ['poll'],
|
||||
status: ['status'],
|
||||
|
||||
@ -12,6 +12,7 @@ const NOTIFICATION_TYPES = [
|
||||
'move',
|
||||
'chat_mention',
|
||||
'emoji_reaction',
|
||||
'reaction',
|
||||
'update',
|
||||
'event_reminder',
|
||||
'participation_request',
|
||||
|
||||
Reference in New Issue
Block a user