Skip to content

fix(whatsapp): show Business app messages in the inbox in real time - #1733

Merged
viethung0o0 merged 3 commits into
mainfrom
fix/whatsapp-smb-echo-live
Nov 17, 2026
Merged

viethung0o0 merged 3 commits into
mainfrom
fix/whatsapp-smb-echo-live

Conversation

@viethung0o0

@viethung0o0 viethung0o0 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Messages sent from the WhatsApp Business app now show up in the inbox and the conversation list right away, without a page refresh.
  • Edits and deletes made in the Business app are applied to the stored message and shown live.
  • Unsigned webhooks can still add Business app messages but can no longer edit or delete stored ones.
  • The conversation list preview follows edits and deletes.
  • Workers must be deployed before the builder.

Test plan

  • Unit tests for the webhook, the message parser, the worker jobs, queue routing and the inbox store
  • Checked in the browser: an edit, a delete and an edit of an older message update the chat and the conversation list
  • Lint, type checks and invariant checks for the touched packages
  • Replayed signed Business app webhooks locally (new message, edit, delete): the chat and the conversation list update without a reload and the delete persists after a reload; an unsigned webhook is rejected
  • Send a message through the Cloud API and confirm it does not come back as a Business app echo

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 17, 2026
@viethung0o0
viethung0o0 marked this pull request as ready for review November 17, 2026 22:45
@viethung0o0
viethung0o0 merged commit dcb9d14 into main Nov 17, 2026
15 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants