fix: add 'p' tag to kind 7 event

This commit is contained in:
P. Reis 2024-12-11 21:04:00 -03:00
parent 6eaf18a890
commit 5de7cfb4da

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 });