Add support for Iceshrimp.NET emoji reaction notifications

This commit is contained in:
Volpeon
2025-08-04 22:04:27 +02:00
committed by nicole mikołajczyk
parent 5d0c86b3ce
commit 005a6b09b1
3 changed files with 4 additions and 1 deletions

View File

@ -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', [