From b815cbfda6f933b7b76182470b93afc239453af6 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Tue, 16 Jun 2026 21:49:02 +0700 Subject: [PATCH] fix: remove dead relay.nostr.band from all relay lists across the app Removed from: useCVMClient, NostrSync, useLoggedInAccounts, useAuthor, SettingsPage Replaced with relay.damus.io where a fallback was still needed. Co-authored-by: shakespeare.diy --- src/components/NostrSync.tsx | 1 - src/hooks/useAuthor.ts | 2 +- src/hooks/useCVMClient.ts | 1 - src/hooks/useLoggedInAccounts.ts | 1 - src/pages/SettingsPage.tsx | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/NostrSync.tsx b/src/components/NostrSync.tsx index 83adbbc..82035e1 100644 --- a/src/components/NostrSync.tsx +++ b/src/components/NostrSync.tsx @@ -17,7 +17,6 @@ const NEW_USER_RELAYS = [ // Fallback relays for fetching profile data (aggregators that index many profiles) const FALLBACK_RELAYS = [ 'wss://purplepag.es', - 'wss://relay.nostr.band', 'wss://relay.damus.io', 'wss://nos.lol', ]; diff --git a/src/hooks/useAuthor.ts b/src/hooks/useAuthor.ts index 9a2ab5d..a252dc5 100644 --- a/src/hooks/useAuthor.ts +++ b/src/hooks/useAuthor.ts @@ -5,7 +5,7 @@ import { useQuery } from '@tanstack/react-query'; // Fallback relays for profile aggregation const FALLBACK_RELAYS = [ 'wss://purplepag.es', - 'wss://relay.nostr.band', + 'wss://relay.damus.io', ]; export function useAuthor(pubkey: string | undefined) { diff --git a/src/hooks/useCVMClient.ts b/src/hooks/useCVMClient.ts index 5d9e78f..03b7461 100644 --- a/src/hooks/useCVMClient.ts +++ b/src/hooks/useCVMClient.ts @@ -35,7 +35,6 @@ export const CVM_SERVER_PUBKEY = const CVM_RELAYS = [ 'wss://goskatespots.nostr1.com', 'wss://relay.ditto.pub', - 'wss://relay.nostr.band', 'wss://relay.damus.io', ]; diff --git a/src/hooks/useLoggedInAccounts.ts b/src/hooks/useLoggedInAccounts.ts index 2a11134..dec6dfa 100644 --- a/src/hooks/useLoggedInAccounts.ts +++ b/src/hooks/useLoggedInAccounts.ts @@ -13,7 +13,6 @@ export interface Account { // Fallback relays for fetching profile data const FALLBACK_RELAYS = [ 'wss://relay.damus.io', - 'wss://relay.nostr.band', 'wss://nos.lol', 'wss://purplepag.es', ]; diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index 97f5799..5694916 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -41,7 +41,6 @@ import { // Fallback relays for fetching profile data const PROFILE_FALLBACK_RELAYS = [ 'wss://purplepag.es', - 'wss://relay.nostr.band', 'wss://relay.damus.io', 'wss://nos.lol', ];