You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
The README gains an end-user-facing "Before you connect a number" section that consolidates
the recurring ban-risk / safe-sending questions: it states plainly that OpenWA is unofficial (it
uses whatsapp-web.js and @whiskeysockets/baileys, not Meta's Cloud API), includes a per-engine
ban-risk vs. resource-cost trade-off table, six practical safe-sending guardrails (warm-up,
no cold-blast, rate-limit, opt-in recipients, keep a fallback, mind the hosting IP), calls out the
known cold-contact first-send silent drop (tracked in #830) as server-side WhatsApp policy rather
than an OpenWA bug, and points regulated deployments to the official Cloud API. Responds to the
ban-risk questions raised in discussions #87, #154, #436, #687, and #694.
Fixed
BODY_SIZE_LIMIT now actually takes effect under Docker Compose. The variable was documented in .env.example and read correctly by the app (src/main.ts → resolveBodyLimit()), but neither docker-compose.yml nor docker-compose.dev.yml forwarded it into the container, so a value set
in .env stayed on the host and the app fell back to its default — large base64 media sends
returned 413 Payload Too Large. Both compose files now pass BODY_SIZE_LIMIT through, matching
the existing ${VAR:-} convention; blank/unset keeps the 25 MB app default. Reported in #540,
tracked in #831, fixed in #832.
The dashboard's integration-instance create form now offers an optional ingress secret field,
so providers that fix their own webhook signing secret (e.g. Chatwoot's per-webhook secret, which
cannot be replaced with a custom value) can be integrated without resorting to the REST API.
Previously the form always auto-generated a secret that could never match the provider's, so every
webhook delivery failed HMAC verification with a 401 and agent replies never arrived (#821). The
field mirrors the API's validation rule (blank = auto-generate, otherwise at least 16 characters).