From 6cc9f56e28978bede19629ce50947b9609080da5 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 19 九月 2018 15:06:07 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/FriendSystem/New/FriendsModel.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/System/FriendSystem/New/FriendsModel.cs b/System/FriendSystem/New/FriendsModel.cs
index 667adea..befdecf 100644
--- a/System/FriendSystem/New/FriendsModel.cs
+++ b/System/FriendSystem/New/FriendsModel.cs
@@ -911,6 +911,11 @@
             else
             {
                 ChatCtrl.Inst.presentChatType = ChatInfoType.Friend;
+                if (WindowCenter.Instance.CheckOpen<SocialWin>())
+                {
+                    WindowJumpMgr.Instance.ClearJumpData();
+                    WindowCenter.Instance.CloseImmediately<SocialWin>();
+                }
                 WindowCenter.Instance.Open<ChatWin>();
             }
         }

--
Gitblit v1.8.0