wip: local relay

This commit is contained in:
2024-09-25 09:59:54 +07:00
parent 3d5085785b
commit bacfaed48a
6 changed files with 123 additions and 127 deletions

View File

@@ -256,7 +256,7 @@ pub async fn login(
};
// Connect to user's relay (NIP-65)
init_nip65(client).await;
init_nip65(client, &public_key).await;
tauri::async_runtime::spawn(async move {
let state = handle.state::<Nostr>();