damus

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

commit 2cfcc82b2dc9b800b19d0d0f504b004ed346f19d
parent aaa21bf1bfbf8c06ae22c89f50af3a133045a244
Author: Nitesh Balusu <niteshbalusu@icloud.com>
Date:   Mon,  2 Jan 2023 18:56:31 -0800

Filter out replies from global feed

Closes: #173
Changelog-Changed: Filter replies from global feed

Diffstat:
Mdamus/Models/SearchHomeModel.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Models/SearchHomeModel.swift b/damus/Models/SearchHomeModel.swift @@ -50,7 +50,7 @@ class SearchHomeModel: ObservableObject { guard sub_id == self.base_subid || sub_id == self.profiles_subid else { return } - if ev.is_textlike && ev.should_show_event { + if ev.is_textlike && ev.should_show_event && !ev.is_reply(nil) { if seen_pubkey.contains(ev.pubkey) { return }