From 8c19ec1532b9c8489b7922547fea5834024ac69a Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 14 Apr 2023 09:54:54 -0700 Subject: [PATCH] small refactor to include_event --- damus/Models/NotificationsModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Models/NotificationsModel.swift b/damus/Models/NotificationsModel.swift index da43c723..e6500ea8 100644 --- 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) } }