This commit is contained in:
thePR0M3TH3AN committed 2025-11-05 15:20:14 -05:00
1 parent 6025f6e078
commit 5aa1f8687b
1 file changed
+14
+14
View File
@@ -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;
}