Make Nostr client async

This commit is contained in:
thePR0M3TH3AN
2025-08-10 20:59:04 -04:00
parent b9525db9ae
commit b0a2f17cc8
3 changed files with 42 additions and 24 deletions

View File

@@ -4355,7 +4355,7 @@ class PasswordManager:
manifest, event_id = pub_snap(encrypted)
else:
# Fallback for tests using simplified stubs
event_id = self.nostr_client.publish_json_to_nostr(encrypted)
event_id = await self.nostr_client.publish_json_to_nostr(encrypted)
self.is_dirty = False
if event_id is None:
return None