From 9c5b7f69dd193991ae65448f84f9c7ca81745c38 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 8 Feb 2023 10:23:02 +0200 Subject: [PATCH] fix: init relays --- client_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_manager.py b/client_manager.py index 51791bf..d6ed1f9 100644 --- a/client_manager.py +++ b/client_manager.py @@ -23,7 +23,7 @@ class NostrClientManager: async def add_client(self, client: "NostrClientConnection") -> bool: if not self.is_ready: - return False + await self.init_relays() allow_connect = await self._allow_client_to_connect(client.relay_id, client.websocket) if not allow_connect: