Skip to content

Handle archived chats as muted#467

Open
asemarafa wants to merge 1 commit intod99kris:masterfrom
asemarafa:fix/whatsapp-archive-mute
Open

Handle archived chats as muted#467
asemarafa wants to merge 1 commit intod99kris:masterfrom
asemarafa:fix/whatsapp-archive-mute

Conversation

@asemarafa
Copy link
Contributor

@asemarafa asemarafa commented Jan 13, 2026

Use whatsmeow archive information to treat archived chats as muted.

  • Initial Sync: Updates HandleHistorySync to mark archived chats as muted on startup.
  • Live Events: Implements HandleArchive to handle real-time changes and restore previous mute timers when
    unarchiving.

Fixes #466

@d99kris d99kris self-assigned this Jan 14, 2026
@d99kris
Copy link
Owner

d99kris commented Jan 18, 2026

Hi @asemarafa - thanks for contributing, but I'm not sure it's ideal to use the muted flag also for archived state. I've been thinking to add a new archived flag in chats2 db table / ChatInfo struct, and then UI behavior can be implemented based on the flag. But I haven't had time to look into it in detail, so I'm not sure exactly what changes will be needed. Will try to get back when I had a chance to look at it more.

@asemarafa asemarafa force-pushed the fix/whatsapp-archive-mute branch 2 times, most recently from 6f50036 to 403ef9b Compare January 26, 2026 13:24
@asemarafa asemarafa force-pushed the fix/whatsapp-archive-mute branch from 403ef9b to dfdf0a4 Compare February 15, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WhatsApp] Archived chats should be treated as muted

2 participants

Comments