damus

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

commit 21be1416f754137dcc509fef6dad2452bf81193d
parent 9efdda43f2a1d264ce20e150c9f34cc85497611d
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  5 May 2023 08:37:50 -0700

Don't preload pfps, it's not thread safe?

Diffstat:
Mdamus/Util/EventCache.swift | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/damus/Util/EventCache.swift b/damus/Util/EventCache.swift @@ -385,10 +385,12 @@ func preload_event(plan: PreloadPlan, state: DamusState) async { print("Preloading event \(plan.event.content)") + /* preload_pfp(profiles: profiles, pubkey: plan.event.pubkey) if let inner_ev = plan.event.get_inner_event(cache: state.events), inner_ev.pubkey != plan.event.pubkey { preload_pfp(profiles: profiles, pubkey: inner_ev.pubkey) } + */ if artifacts == nil && plan.load_artifacts { let arts = render_note_content(ev: plan.event, profiles: profiles, privkey: our_keypair.privkey)