From 05fbb6f36969b04d3536b1fc6cc3b9b132c99a0a Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Fri, 10 Jan 2025 15:19:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=91=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E7=8A=B6=E6=80=81=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wai-server/core/baileys/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wai-server/core/baileys/index.js b/wai-server/core/baileys/index.js index a71b5fc..c172b81 100644 --- a/wai-server/core/baileys/index.js +++ b/wai-server/core/baileys/index.js @@ -228,7 +228,7 @@ const createWhatsApp = async phone => { const msgDirection = msg.key.fromMe ? 'outbound' : 'inbound'; const msgFrom = msg.key.fromMe ? whatsAppNo : remoteNo; const msgTo = msg.key.fromMe ? remoteNo : whatsAppNo; - const msgStatus = msg.status === undefined ? '' : formatStatus(msg.status); + const msgStatus = formatStatus(msg.update.status); waEmitter.emit('message:updated', { id: msg.key.id,