From 54fd2207ea865c8166461ceb52c2537c4240a6ea Mon Sep 17 00:00:00 2001 From: seefoe Date: Wed, 6 Jun 2018 06:33:13 -0400 Subject: [PATCH] Fixed an issue with chatapi failover --- .../ChatAPI/projects/ChatAPI/ChatAPICore.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/external/3rd/library/soePlatform/ChatAPI/projects/ChatAPI/ChatAPICore.cpp b/external/3rd/library/soePlatform/ChatAPI/projects/ChatAPI/ChatAPICore.cpp index 3b369bc7..2ae9716e 100755 --- a/external/3rd/library/soePlatform/ChatAPI/projects/ChatAPI/ChatAPICore.cpp +++ b/external/3rd/library/soePlatform/ChatAPI/projects/ChatAPI/ChatAPICore.cpp @@ -3191,13 +3191,12 @@ namespace ChatSystem failoverReloginOneAvatar(avatarIter->second); } } - else - { - failoverRecreateRooms(); - m_inFailoverMode = false; - m_api->OnFailoverComplete(); - resumeProcessing(); - } + // @TODO: figure out why m_avatarCoreCache isn't emptying after failover relogging all avatars + // @TODO: implement failoverRecreateRooms in stationchat + failoverRecreateRooms(); + m_inFailoverMode = false; + m_api->OnFailoverComplete(); + resumeProcessing(); } void ChatAPICore::failoverReloginOneAvatar(ChatAvatarCore * avatarCore)