From 5de7cfb4da7f963666dc4dded8eb9a759f14a4ec Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Wed, 11 Dec 2024 21:04:00 -0300 Subject: [PATCH] fix: add 'p' tag to kind 7 event --- src/controllers/api/reactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/reactions.ts b/src/controllers/api/reactions.ts index 7c65672a..7d42c197 100644 --- a/src/controllers/api/reactions.ts +++ b/src/controllers/api/reactions.ts @@ -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 });