mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
The Replies tab predicate used `!note.isNewThread()`, which returns true whenever Note.replyTo is non-empty. The cache populates replyTo from event.tagsWithoutCitations(), and that includes unmarked positional NIP-10 e-tags — which modern clients use for QUOTES and MENTIONS, not replies. Posts that merely quoted another note were therefore appearing in the Replies tab. Tighten the signal: a reply is now either a NIP-22 CommentEvent, or a NIP-10 TextNoteEvent carrying an explicit `reply`/`root` marker tag (`markedReply()` / `markedRoot()`). Unmarked e-tags no longer qualify. Adds 6 regression tests including the unmarked-e-tag false-positive case the user reported. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>