Skip to content

Commit

Permalink
Do not mute notes when looking at the muted person's feed itself
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Sep 27, 2023
1 parent 5534793 commit 434b33c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/feed/note/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ pub(super) fn render_note(

if let Ok(note_data) = note_ref.try_borrow() {
let skip = (note_data.author.muted
&& !matches!(app.page, Page::Feed(FeedKind::DmChat(_))))
&& !matches!(app.page, Page::Feed(FeedKind::DmChat(_)))
&& !matches!(app.page, Page::Feed(FeedKind::Person(_))))
|| (note_data.deletion.is_some() && !app.settings.show_deleted_events);

if skip {
Expand Down

0 comments on commit 434b33c

Please sign in to comment.