mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-19 03:51:34 +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) {
|
export function buildChatMessage(stream: ParsedStream, content: string) {
|
||||||
const template: DraftNostrEvent = {
|
const template: DraftNostrEvent = {
|
||||||
tags: [["a", getATag(stream)]],
|
tags: [["a", getATag(stream), "", "root"]],
|
||||||
content,
|
content,
|
||||||
created_at: dayjs().unix(),
|
created_at: dayjs().unix(),
|
||||||
kind: 1311,
|
kind: 1311,
|
||||||
|
Reference in New Issue
Block a user