聊天修改
parent
a27e058066
commit
6aafcc9cd2
|
@ -101,7 +101,7 @@ public class ChatLogic {
|
|||
LOGGER.info("getAllChatMessageInfo wrong chatType=>{} uid=>{}", chatType, uid);
|
||||
break;
|
||||
}
|
||||
ChatProto.GetChatMessageInfoResponse getChatMessageInfoResponse = ChatProto.GetChatMessageInfoResponse
|
||||
ChatProto.GetChatMessageInfoResponse getChatMessageInfoResponse = ChatProto.GetChatMessageInfoResponse
|
||||
.newBuilder().addAllChatInfo(chatInfoList)
|
||||
.build();
|
||||
MessageUtil.sendMessage(iSession, 1, MessageTypeProto.MessageType.GET_CHAT_MESSAGE_REPONSE_VALUE, getChatMessageInfoResponse, true);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class LoopQueue<T> {
|
|||
|
||||
long curTime = System.currentTimeMillis();
|
||||
|
||||
while (queueList[nextIndex] != null && nextIndex != endIndex) {
|
||||
while (queueList[nextIndex].obj != null && nextIndex != endIndex) {
|
||||
if (!needCompareTime && messageId >= queueList[nextIndex].messgeId) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue