Authored by 郝肖肖

获取历史记录,用户头像为空设置默认头像

... ... @@ -391,6 +391,8 @@ var chat = {
var viewData = {};
var chatMessage = cm.chatMessage;
var allTypes = socketConf.recType;
//无用户头像,设置默认头像
cm.userHead = cm.userHead ? cm.userHead : userAvatar;
switch (cm.type) {
case allTypes.CU_SEND:
... ...