Skip to content

Step 4 from issue #258. - #489

Merged
gabrielhhaber merged 2 commits into
gabrielhhaber:mainfrom
pedro-hdias:main
Oct 14, 2026
Merged

gabrielhhaber merged 2 commits into
gabrielhhaber:mainfrom
pedro-hdias:main

Conversation

@pedro-hdias

Copy link
Copy Markdown
Collaborator

No description provided.

…info

Both come from data the client already holds, so nothing is asked of the
server and nothing in WPPConnect or client/api_patches changes:

- Notifications: the client's own _muted_chats map (kept in step with
  WhatsApp's muteExpiration on every chat list sync), read with the same
  rule as is_chat_muted: -1 is muted for good, a future expiry is muted
  until then, the other JID form (phone <-> @lid) is honoured.
- Disappearing messages: the ephemeralDuration wa-js puts on the chat in
  the list-chats snapshot (24 hours, 7 days, 90 days, off). It is only as
  fresh as that snapshot.

A missing value never turns into "not muted" or "off": with no data the
line is simply not shown. The logic is in core/chat_settings.py and the
dialog gets a single call.
@gabrielhhaber
gabrielhhaber merged commit d2801ea into gabrielhhaber:main Oct 14, 2026
2 checks passed
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.

3 participants