We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a93b4c commit d3c76f7Copy full SHA for d3c76f7
crates/bcr-ebill-transport/src/nostr.rs
@@ -456,8 +456,10 @@ impl NostrConsumer {
456
if current_client.is_primary() {
457
let mut contacts = contact_service.get_nostr_npubs().await.unwrap_or_default();
458
info!("Found {} contacts to subscribe to", contacts.len());
459
- // we also subscribe to our own public key
460
- contacts.push(current_client.keys.get_nostr_keys().public_key());
+ // we also subscribe to our own local public keys
+ let mut local_npubs =
461
+ local_node_ids.iter().map(|n| n.npub()).collect::<Vec<_>>();
462
+ contacts.append(&mut local_npubs);
463
info!("Subscribing to public Nostr events for client {client_id}");
464
current_client
465
.subscribe(
0 commit comments