ui: Filter out reposts where the inner event is from a person whom the user has muted. (#1216)
Issue reproduction ------------------ **Device:** iPhone 14 Pro simulator **iOS:** 17.0 **Damus:** `bb2eb904cc` **Steps:** 1. Repost a note from another account (Account "B") 2. Mute user "B" 3. Check home page and your own profile page. Repost shows up with a muted box. Fix Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
0f86a41c4a
commit
66d731ad0a
@@ -16,7 +16,7 @@ struct SearchHomeView: View {
|
||||
@FocusState private var isFocused: Bool
|
||||
|
||||
var content_filter: (NostrEvent) -> Bool {
|
||||
let filters = ContentFilters.defaults(self.damus_state.settings)
|
||||
let filters = ContentFilters.defaults(damus_state: self.damus_state)
|
||||
return ContentFilters(filters: filters).filter
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user