commit 8c19ec1532b9c8489b7922547fea5834024ac69a parent 1ac96202420a4f10f73323e8a87c8e9d7fc71746 Author: William Casarin <jb55@jb55.com> Date: Fri, 14 Apr 2023 09:54:54 -0700 small refactor to include_event Diffstat:
M | damus/Models/NotificationsModel.swift | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Models/NotificationsModel.swift b/damus/Models/NotificationsModel.swift @@ -319,6 +319,6 @@ class NotificationsModel: ObservableObject, ScrollQueue { } func include_event(_ event: NostrEvent, damus_state: DamusState) -> Bool { - return !damus_state.contacts.is_muted(event.pubkey) && !damus_state.muted_threads.isMutedThread(event) + return should_show_event(contacts: damus_state.contacts, ev: event) && !damus_state.muted_threads.isMutedThread(event) } }