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,10 +460,10 @@ 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(["k", String(event.kind)])
|
||||||
tags.push(["e", event.id])
|
tags.push(["e", event.id])
|
||||||
}
|
|
||||||
|
|
||||||
return createEvent(COMMENT, {content, tags})
|
return createEvent(COMMENT, {content, tags})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue