From 80b16562dac5a9113ad43abd283b7be8f6f0a1ca Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 29 Mar 2024 10:29:44 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=9C=A8=E7=BA=BF=E6=B6=88=E6=81=AF:?= =?UTF-8?q?=20=E5=9B=BE=E7=89=87=E5=92=8C=E8=A7=86=E9=A2=91=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/msgUtils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/msgUtils.js b/src/lib/msgUtils.js index c029883..09fa17c 100644 --- a/src/lib/msgUtils.js +++ b/src/lib/msgUtils.js @@ -341,6 +341,7 @@ export const whatsappMsgTypeMapped = { width: 'auto', height: 200, alt: msg.image?.caption || '', + message: msg.image?.caption || '', }), }, sticker: { @@ -381,6 +382,8 @@ export const whatsappMsgTypeMapped = { loading: 0, download: true, }, + height: 200, + width: '100%', }, }), renderForReply: (msg) => ({