fix: 语音 格式 mime_type

hotfix/new-conversation
Lei OT 1 year ago
parent c2a2270e8f
commit 3b27d9afcb

@ -413,6 +413,7 @@ export const whatsappMsgTypeMapped = {
id: msg.wamid, id: msg.wamid,
data: { data: {
audioURL: msg.audio.link, audioURL: msg.audio.link,
audioType: msg.audio?.mime_type || 'audio/ogg',
}, },
}), }),
renderForReply: (msg) => ({ renderForReply: (msg) => ({

Loading…
Cancel
Save