mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-05 04:12:25 +00:00
update
This commit is contained in:
1 parent
5aa1f8687b
commit
cdb82e6e72
1 file changed
+18
-1
@@ -1067,7 +1067,24 @@ function isVideoCommentEvent(event, descriptor) {
|
||||
}
|
||||
|
||||
if (!hasIdentifierTag || !hasDefinitionTag || !hasEventTag) {
|
||||
return false;
|
||||
if (matchedEventPointer && (!requiresParentTag || hasParentTag)) {
|
||||
devLogger.debug(
|
||||
"[nostr] Comment accepted via legacy pointer fallback",
|
||||
{
|
||||
eventId: event?.id,
|
||||
hasIdentifierTag,
|
||||
hasDefinitionTag,
|
||||
hasEventTag,
|
||||
requiresParentTag,
|
||||
hasParentTag,
|
||||
},
|
||||
);
|
||||
hasIdentifierTag = true;
|
||||
hasDefinitionTag = true;
|
||||
hasEventTag = true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (requiresParentTag && !hasParentTag) {
|
||||
|
||||
Reference in new issue
Block a user