mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 00:16:59 +00:00
Nostr-native invites/deep-links for relay groups (no proprietary URL scheme): - RelayGroupChannel.toNAddr(): a NIP-19 `naddr` for the group's kind-39000 metadata (authored by the relay key, host relay as hint) — a cross-client coordinate that opens the group. - ClickableRoute: a clicked/rendered `naddr` for kind 39000 routes straight into the group chat (Route.RelayGroup with the relay hint) instead of the generic addressable-note view. - InviteRelayGroupDialog now shares the group `nostr:naddr…` (for discovery) plus the one-time code for closed groups; copy grabs both. - JoinRelayGroupDialog: closed groups prompt for the invite code, which the join request (9021) carries; open groups still join in one tap. Follow-up: cold-start `nostr:naddr` deep links (from outside the app) still route to the generic note view; only the in-app clicked/rendered path is wired here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B5MLY4hq5LXJ2D5WeLRyXj