mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-04 20:02:26 +00:00
update
This commit is contained in:
1 parent
6025f6e078
commit
5aa1f8687b
1 file changed
+14
@@ -1052,6 +1052,20 @@ function isVideoCommentEvent(event, descriptor) {
|
||||
hasDefinitionTag = true;
|
||||
}
|
||||
|
||||
if (!hasIdentifierTag && requiresRootIdentifierMatch) {
|
||||
if (matchedDefinitionPointer || matchedEventPointer) {
|
||||
devLogger.debug(
|
||||
"[nostr] Comment accepted without explicit identifier tag due to pointer match",
|
||||
{
|
||||
eventId: event?.id,
|
||||
matchedDefinitionPointer,
|
||||
matchedEventPointer,
|
||||
},
|
||||
);
|
||||
hasIdentifierTag = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!hasIdentifierTag || !hasDefinitionTag || !hasEventTag) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user