Do not skip muted notes in DM Chats

This commit is contained in:
Mike Dilger 2023-09-06 09:56:34 +12:00
parent 5985e88136
commit 8510c895e9

View File

@ -66,8 +66,10 @@ pub(super) fn render_note(
// FIXME drop the cached notes on recompute // FIXME drop the cached notes on recompute
if let Ok(note_data) = note_ref.try_borrow() { if let Ok(note_data) = note_ref.try_borrow() {
let skip = note_data.author.muted let skip = (note_data.author.muted
&& !matches!(app.page, Page::Feed(FeedKind::DmChat(_))))
|| (note_data.deletion.is_some() && !app.settings.show_deleted_events); || (note_data.deletion.is_some() && !app.settings.show_deleted_events);
if skip { if skip {
return; return;
} }