feat: store pubkey when authenticated
This commit is contained in:
parent
7d98bc1deb
commit
94730ba464
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ class NostrClientConnection:
|
||||||
await self._send_msg(resp_nip20)
|
await self._send_msg(resp_nip20)
|
||||||
return None
|
return None
|
||||||
self.authenticated = True
|
self.authenticated = True
|
||||||
|
self.pubkey = e.pubkey
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if not self.authenticated and self.client_config.event_requires_auth(e.kind):
|
if not self.authenticated and self.client_config.event_requires_auth(e.kind):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue