fix: 发出的消息的whatsapp_phone_number

dev/code-splitting
Lei OT 2 years ago
parent 3d0ebe61eb
commit f11fbc8d95

@ -497,7 +497,7 @@ export const parseRenderMessageItem = (msg) => {
// title: msg.customerProfile.name,
customer_name: msg?.customerProfile?.name || '',
whatsapp_name: msg?.customerProfile?.name || '',
whatsapp_phone_number: msg.from,
whatsapp_phone_number: isEmpty(msg?.customerProfile) ? msg.to : msg.from,
whatsapp_msg_type: msg.type,
statusCN: msgStatusRenderMappedCN[msg?.status || 'failed'],
statusTitle: msgStatusRenderMappedCN[msg?.status || 'failed'],

Loading…
Cancel
Save