perf(WAI): 号码去掉`+`

dev/voice
Lei OT 4 months ago
parent ac8f12e216
commit 9e6e24eecf

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

Loading…
Cancel
Save