From 6f7a1c690f5bab86b3b4fad598c8da750517b49a Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Tue, 10 Dec 2024 16:46:49 -0800 Subject: [PATCH] Add e/k tags as well as E/K tags to roots --- src/app/commands.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/commands.ts b/src/app/commands.ts index 27c1189e..e54d6989 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -460,11 +460,11 @@ export const makeComment = ({event, content, tags = []}: ReplyParams) => { if (seenRoots.size === 0) { tags.push(["K", String(event.kind)]) tags.push(["E", event.id]) - } else { - tags.push(["k", String(event.kind)]) - tags.push(["e", event.id]) } + tags.push(["k", String(event.kind)]) + tags.push(["e", event.id]) + return createEvent(COMMENT, {content, tags}) }