mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Chatroom.addMessageSync evaluated `activeSenders + author` but discarded the result, so `activeSenders` stayed permanently empty and `Chatroom.senderIntersects()` always returned false. The Known-rooms filter is `senderIntersects(follows) || hasSentMessagesTo(room)`, so with the follow path dead a room only counted as Known once the user's own self-addressed NIP-17 gift wrap decrypted. Incoming DMs from followed contacts were misrouted to New Requests, and the Known tab sat on the "Loading Feed" spinner (empty feed shows the spinner until gift-wrap history exhausts — minutes with many relays/Tor). Assign the new set. Prune/remove intentionally do not recompute activeSenders so a room never flips Known->New when old messages are pruned. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>