Ignore another invite code error

This commit is contained in:
Jon Staab
2026-02-05 14:40:55 -08:00
parent 8fa1987ec0
commit 9f27cc61da
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)
+2
View File
@@ -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,