fix WhatsApp group chat support and self-message handling

Bridge: allow fromMe messages in groups, include participant field in
message queue, bind to 0.0.0.0 for network access, QR served as HTML.

Adapter: process registered group messages (route to Claude), extract
participant for user identification, fix unbound 'phone' variable.

Tested end-to-end: WhatsApp group chat with Claude working. 442 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MoltBot Service
2026-02-13 22:31:22 +00:00
parent 80502b7931
commit 624eb095f1
5 changed files with 51 additions and 34 deletions

View File

@@ -13,12 +13,17 @@
},
"telegram_channels": {},
"whatsapp": {
"enabled": false,
"enabled": true,
"bridge_url": "http://127.0.0.1:8098",
"owner": null,
"owner": "40723197939",
"admins": []
},
"whatsapp_channels": {},
"whatsapp_channels": {
"echo-test": {
"id": "120363424350922235@g.us",
"default_model": "opus"
}
},
"heartbeat": {
"enabled": true,
"interval_minutes": 30