From 5aa1f8687b128f560dd823660a362cf2ffc6c216 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:20:14 -0500 Subject: [PATCH] update --- js/nostr/commentEvents.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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; }