From 9f27cc61dab3ac72be69c10c9e1a8612e53bda91 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 5 Feb 2026 14:40:55 -0800 Subject: [PATCH] Ignore another invite code error --- .env.template | 2 +- src/app/core/commands.ts | 2 +- src/app/util/notifications.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.template b/.env.template index bac512e9..fa6ab14f 100644 --- a/.env.template +++ b/.env.template @@ -12,7 +12,7 @@ VITE_PLATFORM_SECONDARY="#EB5E28" VITE_PLATFORM_DESCRIPTION="Flotilla is nostr — for communities." VITE_PUSH_SERVER=https://nps.flotilla.social/ VITE_PUSH_BRIDGE=wss://npb.coracle.social/ -VITE_BLOCKED_RELAYS=brb.io,relay.nostr.band,nostr.mutinywallet.com,feeds.nostr.band,nostr.zbd.gg,wot.utxo.one +VITE_BLOCKED_RELAYS=brb.io,relay.nostr.band,nostr.mutinywallet.com,feeds.nostr.band,nostr.zbd.gg,wot.utxo.one,blastr.f7z.xyz,relay.current.fyi VITE_INDEXER_RELAYS=purplepag.es,relay.damus.io,indexer.coracle.social VITE_DEFAULT_RELAYS=relay.damus.io,relay.primal.net,nostr.mom VITE_DEFAULT_MESSAGING_RELAYS=auth.nostr1.com diff --git a/src/app/core/commands.ts b/src/app/core/commands.ts index 4fbb9c55..c85ab898 100644 --- a/src/app/core/commands.ts +++ b/src/app/core/commands.ts @@ -209,7 +209,7 @@ export const attemptRelayAccess = async (url: string, claim = "") => { const error = await waitForThunkError(thunk) if (shouldIgnoreError(error)) return - + if (!claim && error.includes("invite code size")) return if (error.includes("invite code")) return "join request rejected" return stripPrefix(error) diff --git a/src/app/util/notifications.ts b/src/app/util/notifications.ts index 12f4b883..0aa3f2c4 100644 --- a/src/app/util/notifications.ts +++ b/src/app/util/notifications.ts @@ -656,6 +656,8 @@ class WebNotifications implements IPushAdapter { } _notify(event: TrustedEvent, title: string, body: string) { + console.log("notify:", event) + const notification = new Notification(title, { body, tag: event.id,