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,