diff --git a/src/channel/bubbleMsgUtils.js b/src/channel/bubbleMsgUtils.js index 41150f5..f27bdf1 100644 --- a/src/channel/bubbleMsgUtils.js +++ b/src/channel/bubbleMsgUtils.js @@ -377,6 +377,8 @@ const whatsappMsgMapped = { ? {} : { ...result.waiMessage, conversationid: result.conversationid, msg_source: 'wai', } }, + contentToRender: (contentObj) => null, + contentToUpdate: (msgcontent) => null, }, } const emailMsgMapped = { diff --git a/src/stores/ConversationStore.js b/src/stores/ConversationStore.js index 3170233..f2b169a 100644 --- a/src/stores/ConversationStore.js +++ b/src/stores/ConversationStore.js @@ -208,9 +208,9 @@ const websocketSlice = (set, get) => ({ ].includes(resultType)) { const _data = receivedMsgTypeMapped[resultType].getMsg(result); setWai(_data) - setTimeout(() => { - setWai({}); // 60s 后清空 - }, 60_000); + // setTimeout(() => { + // setWai({}); // 60s 后清空 + // }, 60_000); } // console.log('handleMessage*******************'); },