Add e/k tags as well as E/K tags to roots
This commit is contained in:
+3
-3
@@ -460,11 +460,11 @@ export const makeComment = ({event, content, tags = []}: ReplyParams) => {
|
|||||||
if (seenRoots.size === 0) {
|
if (seenRoots.size === 0) {
|
||||||
tags.push(["K", String(event.kind)])
|
tags.push(["K", String(event.kind)])
|
||||||
tags.push(["E", event.id])
|
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})
|
return createEvent(COMMENT, {content, tags})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user