From cb15f601b38012db7ac4522487058116112b6ad4 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Fri, 26 Mar 2021 11:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=81=8A=E5=A4=A9=E3=80=91=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E7=99=BB=E5=BD=95=E4=B9=8B=E5=89=8D=E7=9A=84=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Chat/ChatManager.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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