mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
The user's joined NIP-29 groups (kind 10009, NIP-51 simple-groups), mirroring the ephemeral-chat list infrastructure: - commons: RelayGroupListState over SimpleGroupListEvent — liveRelayGroupList (Set<GroupTag>), liveRelayGroupServers (distinct host relays for the Messages- tab rail), follow()/unfollow() a RelayGroupChannel; joined groups stored as NIP-44 private items. RelayGroupListDecryptionCache decrypts once. - AccountSettings implements RelayGroupRepository (backupRelayGroupList + get/ update); guards on null only, since private items live in encrypted content. - Account instantiates the state and exposes follow/unfollow(RelayGroupChannel). - LocalPreferences persists/restores the kind 10009 backup across restarts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B5MLY4hq5LXJ2D5WeLRyXj