|
|
@ -297,6 +297,8 @@ const waiMsgTypeMapped = {
|
|
|
|
const ctxToSendBuilder = ctxContent => {
|
|
|
|
const ctxToSendBuilder = ctxContent => {
|
|
|
|
const { contentToSend } = waiMsgTypeMapped[ctxContent.msgtype];
|
|
|
|
const { contentToSend } = waiMsgTypeMapped[ctxContent.msgtype];
|
|
|
|
const msgReady = contentToSend(ctxContent);
|
|
|
|
const msgReady = contentToSend(ctxContent);
|
|
|
|
|
|
|
|
msgReady.from = ctxContent.from.replace('+', '');
|
|
|
|
|
|
|
|
msgReady.to = ctxContent.to.replace('+', '');
|
|
|
|
return msgReady;
|
|
|
|
return msgReady;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|