From 0b0bd8bcfe4b8df8a034a3674ae3d63bd732cffa Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 25 Dec 2024 14:33:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?webhook=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wai-server/core/services/whatsappHandler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wai-server/core/services/whatsappHandler.js b/wai-server/core/services/whatsappHandler.js index f558567..763eac1 100644 --- a/wai-server/core/services/whatsappHandler.js +++ b/wai-server/core/services/whatsappHandler.js @@ -27,6 +27,7 @@ const webhookBodyBuilder = (messageData, messageType) => { waiMessage: { ...messageData, ...(messageData.updateTime ? { [timeField[messageData.status]]: messageData.updateTime } : {}), + wamid: messageData.id, direction: directionField[messageType], externalId: '', // todo: }, From 23cc6787d8db0fca4141e65b830f44ae54466e9c Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 25 Dec 2024 15:11:13 +0800 Subject: [PATCH 2/2] style: chat window --- src/views/ChatWindow.jsx | 12 ++++++------ .../Conversations/Online/order/CustomerProfile.jsx | 4 ++-- src/views/DesktopApp.jsx | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/ChatWindow.jsx b/src/views/ChatWindow.jsx index ce803d3..f3c1d37 100644 --- a/src/views/ChatWindow.jsx +++ b/src/views/ChatWindow.jsx @@ -25,12 +25,12 @@ const ChatWindow = () => { return ( <> - + { - +
{/*