style: 在线消息: 图片和视频的显示

dev/code-splitting
Lei OT 2 years ago
parent dc87f18697
commit 80b16562da

@ -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) => ({

Loading…
Cancel
Save