Authored by 李奇

changed:历史消息解析修改

... ... @@ -741,6 +741,7 @@ function pageInit() {
* 获取历史聊天记录
*/
function fetchHistoryMsg() {
var msgList = [];
var data = {
encryptedUid: encryptedUid
};
... ... @@ -754,7 +755,10 @@ function pageInit() {
data: data,
success: function(res) {
if (res && res.code === 200) {
hasMore && msgResolve(res.data);
if(hasMore) {
msgList = res.data && res.data.records || [];
msgResolve(msgList);
}
$history.hide();
processInfo.scrollLoad = true;
}
... ...