add missing root tag

This commit is contained in:
hzrd149
2023-07-01 14:55:39 -05:00
parent e160e55153
commit fdbabae97d

View File

@@ -66,7 +66,7 @@ export function getATag(stream: ParsedStream) {
export function buildChatMessage(stream: ParsedStream, content: string) {
const template: DraftNostrEvent = {
tags: [["a", getATag(stream)]],
tags: [["a", getATag(stream), "", "root"]],
content,
created_at: dayjs().unix(),
kind: 1311,