diff --git a/src/app/commands.ts b/src/app/commands.ts index ed56bf5..f69e741 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -233,6 +233,11 @@ export const checkRelayAccess = async (url: string, claim = "") => { // Ignore messages about the relay ignoring ours if (error?.startsWith("mute: ")) return + // Ignore rejected empty claims + if (!claim && error?.includes("invite code")) { + return `failed to request access to relay` + } + return message } } diff --git a/src/app/components/ProfileEdit.svelte b/src/app/components/ProfileEdit.svelte index b18c8c8..b3a2af3 100644 --- a/src/app/components/ProfileEdit.svelte +++ b/src/app/components/ProfileEdit.svelte @@ -1,5 +1,5 @@