Hi — asking for help with WhatsApp same-phone/selfChatMode on OpenClaw 2026.5.7.
Setup:
- OpenClaw updated from 2026.4.24 to 2026.5.7 (eeef486)
- Official plugin installed: openclaw plugins install @openclaw/whatsapp
- Gateway reachable/stable
- discovery.mdns.mode = off (fixed earlier Bonjour/CIAO loop)
- WhatsApp:
- Channels: ON / OK / configured · accounts 1/1
- Health: LINKED · linked
- Config:
- channels.whatsapp.enabled = true
- selfChatMode = true
- dmPolicy = allowlist
- allowFrom = +358… (own number)
- sendReadReceipts = false
- debounceMs = 0
Issue:
Sending a WhatsApp message to myself from the SAME linked phone/account still never reaches OpenClaw inbound.
Test:
Sent:
selfchat testi 1648
Observations:
- text not found in gateway.log / gateway.err.log
- no inbound message log
- no dispatch/routing
- no fromMe/selfChatMode/same-phone/remoteJid/LID/E.164 mismatch logs
- listener starts correctly:
- starting provider (+358…)
- Listening for personal WhatsApp inbound messages
- heartbeat/plugin health alive:
- messagesHandled: 0
- lastInboundAt: null
- transport activity updates normally
- no new Bonjour/CIAO/1006/401/logout problems
Important:
On 2026.4.24 we already traced a likely same-phone normalization issue around:
- messages.upsert
- fromMe
- remoteJid
- selfE164
- isSamePhone = params.from === params.selfE164
Discord search also found a similar selfChatMode format mismatch bug.
Question:
Is same-phone/selfChatMode expected to fully work in 2026.5.7 with the official WhatsApp plugin + Baileys?
And if yes:
- what debug/logging flag should we enable to see whether Baileys emits the self-message at all
- or whether the plugin silently drops it before inbound logging?