mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 08:21:47 +00:00
Do not skip muted notes in DM Chats
This commit is contained in:
parent
5985e88136
commit
8510c895e9
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user