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', [
|
||||
|
||||
Reference in New Issue
Block a user