fix: init relays
This commit is contained in:
parent
534cf04210
commit
9c5b7f69dd
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class NostrClientManager:
|
||||||
|
|
||||||
async def add_client(self, client: "NostrClientConnection") -> bool:
|
async def add_client(self, client: "NostrClientConnection") -> bool:
|
||||||
if not self.is_ready:
|
if not self.is_ready:
|
||||||
return False
|
await self.init_relays()
|
||||||
|
|
||||||
allow_connect = await self._allow_client_to_connect(client.relay_id, client.websocket)
|
allow_connect = await self._allow_client_to_connect(client.relay_id, client.websocket)
|
||||||
if not allow_connect:
|
if not allow_connect:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue