mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Deleting a channel (kind-9008) published the delete and dropped it from the user's kind-10009 list, but the community's browse list is built from the cached kind-39000 metadata and the Buzz membership (kind-44100) set — neither of which the delete touched — so the channel lingered in the list, and a stale 44100 re-announcement could bring it back after a restart. Track deleted relay-group channels in a device-global RelayGroupDeletions registry (keyed by GroupId.toKey, so it stays relay-scoped), persist it via RelayGroupDeletionPreferences, mark the channel on deleteRelayGroup, and filter deleted keys out of both the directory channels and the Buzz membership list in RelayGroupChannelListScreen. The delete now removes the row live and it stays gone across restarts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016MNVEKhaAu4vQRZnXv3rfG