diff --git a/Assets/ManagedResources/~Lua/Modules/Chat/ChatManager.lua b/Assets/ManagedResources/~Lua/Modules/Chat/ChatManager.lua index 4211d814a5..8e1cccaeea 100644 --- a/Assets/ManagedResources/~Lua/Modules/Chat/ChatManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Chat/ChatManager.lua @@ -284,8 +284,8 @@ function this.ChatDataAdapter(channel, data) if newMsgId ~= -1 then -- 消息号为-1表示屏蔽消息,保存数据但不保存消息号, this.SetMsgIdFlag(channel, newMsgId) -- 保存当前消息的消息号,避免下次刷新时还会请求 end - __DebugLog(Language[10363]..tostring(tonumber(newChat.times) <= this.LoginTimeStamp)) - if tonumber(newChat.times) > this.LoginTimeStamp then -- 登录时间之前的消息都不显示 + -- __DebugLog(Language[10363]..tostring(tonumber(newChat.times) <= this.LoginTimeStamp)) + -- if tonumber(newChat.times) > this.LoginTimeStamp - 7200000 then -- 登录时间之前的消息都不显示 if channel ~= CHAT_CHANNEL.SYSTEM or this.IsShowInChatPanel(newChat.messageType) then if not GoodFriendManager.IsInBlackList(newChat.senderId) then -- 判断是否在黑名单中 table.insert(this.ChatList[channel], newChat) @@ -298,7 +298,7 @@ function this.ChatDataAdapter(channel, data) if this.IsShowInHorseRace(newChat.messageType) then HorseRaceManager.AddRaceData(newChat) end - end + -- end end __DebugLog("--") end