damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 087d3e16a1992e175ee91817d957c08f4ab0a4d1
parent 7cae61a86acfe3f8667776a88dcf5e0ca3811c1f
Author: Bryan Montz <bryanmontz@me.com>
Date:   Sat, 17 Jun 2023 08:56:33 -0500

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

Closes: #1298

Diffstat:
Mdamus/Models/HomeModel.swift | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift @@ -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, ()) } }