From 9c48fb3f2a27ef367285296336da82cc7dc18a4c Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 09 一月 2019 10:32:37 +0800
Subject: [PATCH] 5743 【前端】【1.5】本地聊天记录仅保留48小时内的消息,聊天面板去除vip具体等级显示,只显示vip

---
 System/Chat/ChatCenter.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/System/Chat/ChatCenter.cs b/System/Chat/ChatCenter.cs
index 2107389..6a12ace 100644
--- a/System/Chat/ChatCenter.cs
+++ b/System/Chat/ChatCenter.cs
@@ -79,6 +79,10 @@
             if (config != null)
             {
                 LocalChatHistory.localSaveCount = int.Parse(config.Numerical1);
+                if (!string.IsNullOrEmpty(config.Numerical2))
+                {
+                    LocalChatHistory.localChatKeepHour = int.Parse(config.Numerical2);
+                }
             }
         }
 

--
Gitblit v1.8.0