From f806faec51af8eadd4c1907adbe35622f2b69278 Mon Sep 17 00:00:00 2001 From: padreug Date: Wed, 3 Sep 2025 10:54:28 +0200 Subject: [PATCH] FIX: add urlsafe=True --- nostr/nostr_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostr/nostr_client.py b/nostr/nostr_client.py index 96c37fb..8a2da32 100644 --- a/nostr/nostr_client.py +++ b/nostr/nostr_client.py @@ -30,7 +30,7 @@ class NostrClient: async def connect_to_nostrclient_ws(self) -> WebSocketApp: logger.debug(f"Connecting to websockets for 'nostrclient' extension...") - relay_endpoint = encrypt_internal_message("relay") + relay_endpoint = encrypt_internal_message("relay", urlsafe=True) on_open, on_message, on_error, on_close = self._ws_handlers() ws = WebSocketApp( f"ws://localhost:{settings.port}/nostrclient/api/v1/{relay_endpoint}",