From 3445ef9059211ff921faccc1ca7d46c8997a4f3d Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 3 Nov 2025 10:45:44 -0500 Subject: [PATCH] Ensure comment builder always appends root #e tag --- js/nostrEventSchemas.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/js/nostrEventSchemas.js b/js/nostrEventSchemas.js index dfa513db..f9cecd10 100644 --- a/js/nostrEventSchemas.js +++ b/js/nostrEventSchemas.js @@ -1161,14 +1161,7 @@ export function buildCommentEvent({ } const shouldAppendVideoEventTag = - Boolean(videoEventTagName) && - Boolean(normalizedVideoEventId) && - !tags.some( - (tag) => - Array.isArray(tag) && - tag[0] === videoEventTagName && - tag[1] === normalizedVideoEventId, - ); + Boolean(videoEventTagName) && Boolean(normalizedVideoEventId); if (shouldAppendVideoEventTag) { appendPointerTag(