damus

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

commit 960389166dfaf11a58953417c374970974fe5657
parent 6b6593da53a6c022843ef698135d0da2da9b5922
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 18 Nov 2022 12:19:43 -0800

home: always add home events

Don't try to hide anything. It's confusing, and we have the post-only
view now so it's fine

Diffstat:
Mdamus/Models/HomeModel.swift | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift @@ -370,9 +370,7 @@ class HomeModel: ObservableObject { } if sub_id == home_subid { - if is_friend_event(ev, keypair: damus_state.keypair, contacts: damus_state.contacts) { - let _ = insert_home_event(ev) - } + let _ = insert_home_event(ev) } else if sub_id == notifications_subid { handle_notification(ev: ev) }