Skip to content

feat: mirror Zalo muted threads as silent on Telegram - #44

Merged
williamcachamwri merged 1 commit into
williamcachamwri:mainfrom
ntdatt812:feat/mirror-zalo-mute
Jun 21, 2026
Merged

williamcachamwri merged 1 commit into
williamcachamwri:mainfrom
ntdatt812:feat/mirror-zalo-mute

Conversation

@ntdatt812

Copy link
Copy Markdown
Contributor

When a Zalo group or DM has its notifications muted, deliver its forwarded messages to the Telegram topic silently
(disable_notification) — the message still arrives, it just doesn't ping. This mirrors the Zalo mute state instead of either notifying for everything or dropping muted threads entirely.

getMute() mute state (groups + DMs) is fetched once and cached for a minute, shared with the existing skip-muted-groups path. The silent flag is computed once per message and threaded through every forward path (text, media, albums, polls, delete notices). Controlled by ZALO_MUTE_SILENT (default on; set to 0 to always notify).

When a Zalo group or DM has its notifications muted, deliver its
forwarded messages to the Telegram topic silently
(disable_notification) — the message still arrives, it just doesn't
ping. This mirrors the Zalo mute state instead of either notifying for
everything or dropping muted threads entirely.

getMute() mute state (groups + DMs) is fetched once and cached for a
minute, shared with the existing skip-muted-groups path. The silent
flag is computed once per message and threaded through every forward
path (text, media, albums, polls, delete notices). Controlled by
ZALO_MUTE_SILENT (default on; set to 0 to always notify).
@williamcachamwri
williamcachamwri merged commit 415e111 into williamcachamwri:main Jun 21, 2026
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.

2 participants