docs: note inbox listener cleanup

This commit is contained in:
Peter Steinberger
2025-12-26 09:37:38 +00:00
parent ffe9a2435b
commit 4611e799b7

View File

@@ -28,6 +28,7 @@ Status: WhatsApp Web via Baileys only. Gateway owns the single session.
## Inbound flow (DM + group)
- WhatsApp events come from `messages.upsert` (Baileys).
- Inbox listeners are detached on shutdown to avoid accumulating event handlers in tests/restarts.
- Status/broadcast chats are ignored.
- Direct chats use E.164; groups use group JID.
- **Allowlist**: `routing.allowFrom` enforced for direct chats only.