damus

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

commit 1a0282fe21d4fad155b1a613f174f1c271179fba
parent b2b687fb79a134a49c678360dcfab4583216fe6e
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 27 Jun 2023 05:59:59 +0200

Revert "nozaps: don't pull thread zaps in nozaps mode"

This reverts commit 6003a3c6f809fcb0a4341b6302e92803a0693246.

Diffstat:
Mdamus/Models/ThreadModel.swift | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/damus/Models/ThreadModel.swift b/damus/Models/ThreadModel.swift @@ -69,17 +69,12 @@ class ThreadModel: ObservableObject { meta_events.referenced_ids = [event.id] - var kinds: [NostrKind] = [.text, .boost] - + var kinds: [NostrKind] = [.zap, .text, .boost] if !damus_state.settings.onlyzaps_mode { kinds.append(.like) } - - if !damus_state.settings.nozaps { - kinds.append(.zap) - } - meta_events.kinds = kinds + meta_events.limit = 1000 let base_filters = [event_filter, ref_events]