mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
The channel model the shared chat UI renders, mirroring RelayGroupChannel: - quartz ConcordChannelId(communityId, channelId): the stable channel address (analog of NIP-29 GroupId, but community-scoped rather than relay-pinned) - commons ConcordChannel : Channel — name/voice/private from the folded Control Plane (no single relay-signed metadata event), relays() = the community relay set (a plane may be mirrored on several), membership from the authority resolver, canPost(), placeholderNote() for immediate Messages-list rows; updateFrom(state, relays, myPubKey) refreshes on each re-fold - LocalCache: concordChannels LargeCache index + getOrCreate/getIfExists Compiles across :quartz/:commons/:amethyst. Next: the decryption subscription that folds inbound channel-plane wraps into these, then the Messages inbox hook. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CzJ2Cwo8tg4oZq43oRa3ig