feat: store pubkey when authenticated

This commit is contained in:
Vlad Stan 2023-02-16 17:04:23 +02:00
parent 7d98bc1deb
commit 94730ba464

View file

@ -173,6 +173,7 @@ class NostrClientConnection:
await self._send_msg(resp_nip20)
return None
self.authenticated = True
self.pubkey = e.pubkey
return None
if not self.authenticated and self.client_config.event_requires_auth(e.kind):