commit a320fae2bc8f76b18ace652f09658f766873aa3d
parent 8e0136a13acec744cd5509caf46603b79b4db5ad
Author: Gísli Kristjánsson <gislik@hamstur.is>
Date: Mon, 17 Apr 2023 04:40:14 +0000
Load missing profiles from boosts on home view
Changelog-Fixed: Load missing profiles from boosts on home view
Closes: #947
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift
@@ -322,6 +322,8 @@ class HomeModel: ObservableObject {
load_profiles(profiles_subid: profiles_subid, relay_id: relay_id, load: .from_events(dms), damus_state: damus_state)
} else if sub_id == notifications_subid {
load_profiles(profiles_subid: profiles_subid, relay_id: relay_id, load: .from_keys(notifications.uniq_pubkeys()), damus_state: damus_state)
+ } else if sub_id == home_subid {
+ load_profiles(profiles_subid: profiles_subid, relay_id: relay_id, load: .from_events(events.events), damus_state: damus_state)
}
self.loading = false