After loading the user's relays from their contact event, connect to new relays
Closes: #1298
This commit is contained in:
committed by
William Casarin
parent
7cae61a86a
commit
087d3e16a1
@@ -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, ())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user