Only check inner_events on boosts
This commit is contained in:
@@ -129,7 +129,7 @@ func find_profiles_to_fetch_from_events(profiles: Profiles, events: [NostrEvent]
|
||||
|
||||
for ev in events {
|
||||
// lookup profiles from boosted events
|
||||
if let bev = ev.inner_event, profiles.lookup(id: bev.pubkey) == nil {
|
||||
if ev.known_kind == .boost, let bev = ev.inner_event, profiles.lookup(id: bev.pubkey) == nil {
|
||||
pubkeys.insert(bev.pubkey)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user