From 252eab504ff853356c2500ba4278ac10396c3288 Mon Sep 17 00:00:00 2001 From: daniyal Date: Thu, 25 Jul 2024 21:14:58 +0500 Subject: [PATCH] chore: quick fix --- src/controllers/relay.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/relay.ts b/src/controllers/relay.ts index e1387a6..85ff8f9 100644 --- a/src/controllers/relay.ts +++ b/src/controllers/relay.ts @@ -66,6 +66,8 @@ export class RelayController { // Connect to the application relay specified by environment variable const appRelayPromise = this.connectRelay(import.meta.env.VITE_APP_RELAY) + // todo: window.nostr.getRelays() is not implemented yet in nostr-login, implement the logic once its done + // Retrieve the list of write relays for the event's public key // Use a timeout to handle cases where retrieving write relays takes too long const writeRelaysPromise = MetadataController.getInstance().findWriteRelays(