mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 00:16:59 +00:00
A kind:1 note carrying a `q` tag is a quote-repost of the quoted note, but Amethyst's reaction-row repost counter reads `Note.boosts`, which only collected kind:6/kind:16 reposts. Quote-reposts were treated purely as inline citations (stripped by `tagsWithoutCitations()`), so they never appeared in the quoted note's repost count. LocalCache now adds a `q`-tagged note as a boost of each quoted note when consuming text notes/comments, and detaches it on deletion. The quoted note is deliberately kept out of `replyTo` so the quote still renders as a root post in the home feed (`Note.isNewThread`). The same wiring is added to DesktopLocalCache for parity, with tests pinning the behavior using the exact event reported.