Ensure comment builder always appends root #e tag

This commit is contained in:
thePR0M3TH3AN committed 2025-11-03 10:45:44 -05:00
1 parent d9b45ed867
commit 3445ef9059
1 file changed
+1 -8
+1 -8
View File
@@ -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(