mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-18 19:41:48 +02:00
add missing root tag
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user