From 3615de70adf767388016895a448c49c86f846ad6 Mon Sep 17 00:00:00 2001 From: daniyal Date: Sun, 22 Dec 2024 21:49:56 +0500 Subject: [PATCH] chore: include sigit relay explicitly when fetching event from user relays --- src/contexts/NDKContext.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/contexts/NDKContext.tsx b/src/contexts/NDKContext.tsx index efc47e9..c4d73f9 100644 --- a/src/contexts/NDKContext.tsx +++ b/src/contexts/NDKContext.tsx @@ -150,6 +150,10 @@ export const NDKContextProvider = ({ children }: { children: ReactNode }) => { return [] as string[] }) + if (!relayUrls.includes(SIGIT_RELAY)) { + relayUrls.push(SIGIT_RELAY) + } + return ndk .fetchEvents( filter,