mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-23 03:04:19 +01:00
Mute rendering instead of ingress
Previous approach was to keep muted content from getting inserted. Instead, this version alters it's display. This makes toggling mutes on and off externally much more stable (the display changes but we don't have to rebuild content trees) For now muted content is collapsed to a red "Muted" tombstone w/ a reason.
This commit is contained in:
@@ -161,7 +161,6 @@ impl RenderNavResponse {
|
||||
ctx.note_cache,
|
||||
ctx.pool,
|
||||
&txn,
|
||||
&ctx.accounts.mutefun(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -196,7 +195,6 @@ impl RenderNavResponse {
|
||||
&mut app.threads,
|
||||
ctx.pool,
|
||||
root_id,
|
||||
&ctx.accounts.mutefun(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -208,7 +206,6 @@ impl RenderNavResponse {
|
||||
&mut app.profiles,
|
||||
ctx.pool,
|
||||
pubkey.bytes(),
|
||||
&ctx.accounts.mutefun(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user