|
|
|
@ -150,10 +150,10 @@ function ChatHistory() {
|
|
|
|
|
setChatItemMessages([]);
|
|
|
|
|
setParamsForMsgList({});
|
|
|
|
|
setSelectedMatch({});
|
|
|
|
|
if (isEmpty(selectedConversation.conversationid)) {
|
|
|
|
|
if (isEmpty(selectedConversation.conversationid) || isEmpty(selectedConversation.opi_sn)) {
|
|
|
|
|
return () => {};
|
|
|
|
|
}
|
|
|
|
|
const firstActionPageParams = { opisn: selectedConversation.OPI_SN, whatsappid: selectedConversation.whatsapp_phone_number };
|
|
|
|
|
const firstActionPageParams = { opisn: selectedConversation.opi_sn, whatsappid: selectedConversation.whatsapp_phone_number };
|
|
|
|
|
if (isEmpty(selectedConversation.matchMsgList)) {
|
|
|
|
|
firstActionPageParams.loadPrePage = false;
|
|
|
|
|
firstActionPageParams.loadNextPage = true;
|
|
|
|
|