damus

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

commit 8e0136a13acec744cd5509caf46603b79b4db5ad
parent 8f767b03ae810427fcc8fbcf60b2d23d2b15f87c
Author: Gísli Kristjánsson <gislik@hamstur.is>
Date:   Mon, 17 Apr 2023 04:39:34 +0000

Load profiles for profile model

Changelog-Fixed: Load missing profiles from boosts on profile view

Diffstat:
Mdamus/Models/ProfileModel.swift | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/damus/Models/ProfileModel.swift b/damus/Models/ProfileModel.swift @@ -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 }