Add e/k tags as well as E/K tags to roots

This commit is contained in:
Jon Staab
2024-12-10 16:46:49 -08:00
parent df42ec9915
commit 6f7a1c690f
+3 -3
View File
@@ -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})
}