mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Ensure comment builder always appends root #e tag
This commit is contained in:
1 parent
d9b45ed867
commit
3445ef9059
1 file changed
+1
-8
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user