commit 05e73a3711d7ea3f9fa511d86a4e9871aa900839 parent 731fdb108b4505fd963fb79d99ae4b083b48ecba Author: William Casarin <jb55@jb55.com> Date: Thu, 13 Jul 2023 11:42:56 -0700 actually subscribe to likes. oops Diffstat:
M | damus/Models/HomeModel.swift | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift @@ -512,12 +512,12 @@ class HomeModel { func subscribe_to_home_filters(friends fs: [String]? = nil, relay_id: String? = nil) { // TODO: separate likes? - let home_filter_kinds: [NostrKind] = [ + var home_filter_kinds: [NostrKind] = [ .text, .longform, .boost ] - //if !damus_state.settings.onlyzaps_mode { - //home_filter_kinds.append(.like) - //} + if !damus_state.settings.onlyzaps_mode { + home_filter_kinds.append(.like) + } let friends = fs ?? get_friends() var home_filter = NostrFilter(kinds: home_filter_kinds)