Files
buzz/mobile/test/shared
Logan Johnson cca43667e8 fix(mobile): show a taken channel name plainly and keep invites working
The relay refuses an open channel whose name another listed channel in
the community has, with `invalid: an open channel named "X" already
exists`.

- The create sheet showed that as `Exception: invalid: an open channel
  named "X" already exists`. A new relayErrorMessage helper drops the
  Exception wrapper and the NIP-01 prefix, so the sheet shows `An open
  channel named "X" already exists`.
- Invite starter setup created `general` and `welcome-everyone` when it
  found no open, unarchived stream with that name. An archived or forum
  namesake keeps the name, so the create was refused and the invite
  failed. Starter setup now reloads after that refusal, joins an open
  stream with the name if one now exists, and otherwise skips that
  starter instead of failing the join.

Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Logan Johnson <loganj@squareup.com>
2026-11-02 10:44:47 -05:00
..