mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 11:48:24 +00:00
A kind-4891 only dropped messages already on screen and was not remembered. A catch-up returns newest first and both sit in one epoch, so the removal often decrypts first, removes nothing, and the target is then added and stays, on every restart too (the replay keeps arrival order). Unlike a kind-5 there is no LocalCache deletion index behind it. MarmotGroupList now keeps the removed ids per group and refuses them on add. Tests cover removal-before-target, the per-group scope, and removal of a shown message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>