diff --git a/js/nostr/commentEvents.js b/js/nostr/commentEvents.js index b60213c0..35fc15a0 100644 --- a/js/nostr/commentEvents.js +++ b/js/nostr/commentEvents.js @@ -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; }