diff --git a/src/lib/components/EventDetails.svelte b/src/lib/components/EventDetails.svelte index d59f955..c3b14f6 100644 --- a/src/lib/components/EventDetails.svelte +++ b/src/lib/components/EventDetails.svelte @@ -5,6 +5,7 @@ import { toNpub } from "$lib/utils/nostrUtils"; import { neventEncode, naddrEncode, nprofileEncode } from "$lib/utils"; import { activeInboxRelays, activeOutboxRelays } from "$lib/ndk"; + import { searchRelays } from "$lib/consts"; import type { NDKEvent } from "$lib/utils/nostrUtils"; import { getMatchingTags } from "$lib/utils/nostrUtils"; import ProfileHeader from "$components/cards/ProfileHeader.svelte"; diff --git a/src/lib/components/EventSearch.svelte b/src/lib/components/EventSearch.svelte index 0304107..5f63049 100644 --- a/src/lib/components/EventSearch.svelte +++ b/src/lib/components/EventSearch.svelte @@ -11,6 +11,7 @@ } from "$lib/utils/search_utility"; import { neventEncode, naddrEncode, nprofileEncode } from "$lib/utils"; import { activeInboxRelays, activeOutboxRelays, ndkInstance } from "$lib/ndk"; + import { searchRelays } from "$lib/consts"; import { getMatchingTags, toNpub } from "$lib/utils/nostrUtils"; import type { SearchResult } from '$lib/utils/search_types'; import { userStore } from "$lib/stores/userStore"; diff --git a/src/lib/utils/nostrUtils.ts b/src/lib/utils/nostrUtils.ts index 7f2fbb2..5f6fb2e 100644 --- a/src/lib/utils/nostrUtils.ts +++ b/src/lib/utils/nostrUtils.ts @@ -192,6 +192,7 @@ export async function createProfileLinkWithVerification( }; const allRelays = [ + ...searchRelays, // Include search relays for profile searches ...communityRelays, ...userRelays, ...secondaryRelays,