hermes-agent/scripts/whatsapp-bridge
Teknium 3e2c8c529b
fix(whatsapp): resolve LID↔phone aliases in allowlist matching (#3830)
WhatsApp DMs can arrive with LID sender IDs even when
WHATSAPP_ALLOWED_USERS is configured with phone numbers. The allowlist
check now reads bridge session mapping files (lid-mapping-*.json) to
resolve phone↔LID aliases, matching users regardless of which
identifier format the message uses.

Both the Python gateway (_is_user_authorized) and the Node bridge
(allowlist.js) now share the same mapping-file-based resolution logic.

Co-authored-by: Frederico Ribeiro <fr@tecompanytea.com>
2026-03-29 18:21:50 -07:00
..
allowlist.js fix(whatsapp): resolve LID↔phone aliases in allowlist matching (#3830) 2026-03-29 18:21:50 -07:00
allowlist.test.mjs fix(whatsapp): resolve LID↔phone aliases in allowlist matching (#3830) 2026-03-29 18:21:50 -07:00
bridge.js fix(whatsapp): resolve LID↔phone aliases in allowlist matching (#3830) 2026-03-29 18:21:50 -07:00
package-lock.json add full support for whatsapp 2026-02-25 21:04:36 -08:00
package.json add full support for whatsapp 2026-02-25 21:04:36 -08:00