mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Render custom emoji reaction in notifications
This commit is contained in:
parent
875eee7a77
commit
3daac37e08
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ async function renderReaction(event: DittoEvent, opts: RenderNotificationOpts) {
|
|||
id: notificationId(event),
|
||||
type: 'pleroma:emoji_reaction',
|
||||
emoji: event.content,
|
||||
emoji_url: event.tags.find(([name, value]) => name === 'emoji' && `:${value}:` === event.content)?.[2],
|
||||
created_at: nostrDate(event.created_at).toISOString(),
|
||||
account,
|
||||
status,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue