Load profiles for profile model

Changelog-Fixed: Load missing profiles from boosts on profile view
This commit is contained in:
Gísli Kristjánsson
2023-04-17 04:39:34 +00:00
committed by William Casarin
parent 8f767b03ae
commit 8e0136a13a

View File

@@ -140,6 +140,9 @@ class ProfileModel: ObservableObject, Equatable {
case .notice(let notice):
notify(.notice, notice)
case .eose:
if resp.subid == sub_id {
load_profiles(profiles_subid: prof_subid, relay_id: relay_id, load: .from_events(events.events), damus_state: damus)
}
progress += 1
break
}