mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-28 20:43:33 +02:00
remove "client" event tag
This commit is contained in:
@@ -55,11 +55,6 @@ function finalizeNote(draft: DraftNostrEvent) {
|
|||||||
updatedDraft.content = c.slice(0, match.index) + `#[${index}]` + c.slice(match.index + match[0].length);
|
updatedDraft.content = c.slice(0, match.index) + `#[${index}]` + c.slice(match.index + match[0].length);
|
||||||
}
|
}
|
||||||
|
|
||||||
// add client tag, TODO: find a better place for this
|
|
||||||
if (!updatedDraft.tags.some((t) => t[0] === "client")) {
|
|
||||||
updatedDraft.tags.push(["client", "noStrudel"]);
|
|
||||||
}
|
|
||||||
|
|
||||||
return updatedDraft;
|
return updatedDraft;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user