获取聊天报错解决

back_recharge
mengchengzhen 2021-07-30 11:42:43 +08:00
parent 91eb85793d
commit 9979be777c
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ public class ChatLogic {
case 4:
int group = GlobleSystemLogic.getInstence().getCrossGroup();
if(group==-1){
throw new ErrorCodeException(ErrorCode.CHAT_NOT_CROSS);
MessageUtil.sendMessage(iSession, 1, MessageTypeProto.MessageType.GET_CHAT_MESSAGE_REPONSE_VALUE, null, true);
return;
}
chatInfoList = MessageCache.getCrossMsg(messageId,String.valueOf(group));