After loading the user's relays from their contact event, connect to new relays

Closes: #1298
This commit is contained in:
Bryan Montz
2023-06-17 08:56:33 -05:00
committed by William Casarin
parent 7cae61a86a
commit 087d3e16a1

View File

@@ -858,6 +858,7 @@ func load_our_relays(state: DamusState, m_old_ev: NostrEvent?, ev: NostrEvent) {
if changed {
save_bootstrap_relays(pubkey: state.pubkey, relays: Array(new))
state.pool.connect()
notify(.relays_changed, ())
}
}