|
|
|
@ -112,7 +112,7 @@ const InputComposer = ({ channel, currentActive }) => {
|
|
|
|
|
const contentToSend = sentMsgTypeMapped[msgObjMerge.type].contentToSend(msgObjMerge);
|
|
|
|
|
// console.log('content to send-------------------------------------', contentToSend);
|
|
|
|
|
|
|
|
|
|
if (channel === 'whatsapp') {
|
|
|
|
|
if (channel === 'wai') {
|
|
|
|
|
// const waObj = { from: fromIM.replace('+', ''), to: toIM.replace('+', ''), content: msgObj.text, };
|
|
|
|
|
await postSendMsg({...contentToSend, externalId: currentConversation.sn || ''});
|
|
|
|
|
} else if (channel === 'waba') {
|
|
|
|
|