feat: implement mute conversation support for Mastodon

This feature allows users to visually hide muted conversations from the Home timeline. It includes:

- Automatic filtering of muted posts in Home.

- Immediate visual removal of posts when muting a conversation.

- New 'mute_conversation' action in context menu and keyboard shortcuts.

- Default shortcut: Alt+Win+Shift+Delete

- Win10/11 shortcut: Ctrl+Alt+Win+Backspace
This commit is contained in:
2026-01-11 01:22:29 -06:00
parent ccaa0d98ff
commit cb0bb4cf27
8 changed files with 53 additions and 1 deletions

View File

@@ -140,6 +140,11 @@ def evaluate_filters(post: dict, current_context: str) -> str | None:
- None if no applicable filters are found, meaning the post should be shown normally.
"""
filters = post.get("filtered", None)
# Automatically hide muted conversations from home timeline.
if current_context == "home" and post.get("muted") == True:
return "hide"
if filters == None:
return
warn_filter_title = None