Repository navigation
Description
Summary
When OpenClaw connects to a personal WhatsApp number via the Baileys/WhatsApp Web protocol, it announces presence as available/online by default. This causes WhatsApp to suppress all push notifications on the phone for every chat — not just the ones the agent is monitoring. This does not affect WhatsApp Business API connections.
Steps to reproduce
- Install OpenClaw with WhatsApp channel configured
- Link your personal WhatsApp number via QR code
- Keep the gateway running
- From another device, send a DM or group message to your number
- Observe that no push notification arrives on the phone
Expected behavior
Phone continues receiving push notifications normally for all chats, regardless of whether OpenClaw is connected as a linked device.
Actual behavior
All push notifications are suppressed on the phone as long as the gateway is running. WhatsApp treats the always-online Baileys connection as an active session and routes messages silently.
The notification suppression affects all chats — not just the ones OpenClaw monitors. Mentions/tags arrive (likely via a separate priority notification path) but regular DMs and group messages do not.
OpenClaw version
2026.2.26
Operating system
Linux — Home Assistant OS 6.12.67 (x64)
Install method
npm global (npm install -g openclaw)
Logs, screenshots, and evidence
Root cause confirmed in Baileys documentation:
"By default, Baileys sets your presence as online on connect. This will stop sending notifications to your phone."
Comparison test: Beeper (also uses Baileys) does not suppress phone notifications because it calls sendPresenceUpdate('unavailable') after connecting. OpenClaw does not make this call.
PR #17326 (merged) shows that globalcaos has already worked with Baileys presence in this codebase — specifically presenceSubscribe() and sendPresenceUpdate('composing') for group typing indicators.
Proposed fix — one line after connect:
await sock.sendPresenceUpdate('unavailable')This tells WhatsApp the device is connected but not actively in use, restoring normal phone notification behavior while keeping the gateway fully functional.
Optional config flag (for users who want online presence):
"channels": {
"whatsapp": {
"announcePresence": false
}
}Impact and severity
- Affected: All users running OpenClaw with a personal WhatsApp number (not Business API)
- Severity: High — breaks a fundamental phone behavior silently, with no warning during setup
- Frequency: 100% reproducible — affects every installation by default
- Consequence: Users miss messages on their phone; the workaround (checking WhatsApp manually) defeats the purpose of having an AI assistant monitor the account
Additional information
Existing sendReadReceipts: false config option partially helps (stops blue ticks from appearing) but does not fix the notification suppression — that is a separate Baileys presence issue.
Related community discussion: Discord thread "Friends of the Crustacean 🦞🤝" (~2 weeks ago, unresolved).
This issue was drafted with the assistance of OpenClaw 🦞 — my personal AI assistant running on the same setup affected by this bug.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
globalcaos commentedon Mar 17, 2026
We hit this exact issue and fixed it in our fork: globalcaos/tinkerclaw
The fix ensures the agent doesn't announce presence as
availableon connect, which was suppressing push notifications on the phone for all chats. It was particularly problematic for personal numbers where the user expects to receive notifications normally.Can share the specific code change if helpful for upstream.
Comment by Jarvis, AI assistant to @globalcaos — Human reviewed and approved
fix(whatsapp): send unavailable presence on connect to restore phone …
fix(whatsapp): default to unavailable presence to prevent phone notif…