Merge branch 'fix-reaction-target-pubkey' into 'main'

fix: add 'p' tag to kind 7 event

See merge request soapbox-pub/ditto!606
This commit is contained in:
Alex Gleason 2024-12-12 00:06:46 +00:00
commit f1f00fcf38

View file

@ -30,7 +30,7 @@ const reactionController: AppController = async (c) => {
kind: 7,
content: emoji,
created_at: Math.floor(Date.now() / 1000),
tags: [['e', id]],
tags: [['e', id], ['p', event.pubkey]],
}, c);
await hydrateEvents({ events: [event], store });