Add e/k tags as well as E/K tags to roots
This commit is contained in:
parent
df42ec9915
commit
6f7a1c690f
1 changed files with 3 additions and 3 deletions
|
|
@ -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})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue