Skip to content
Snippets Groups Projects
Commit 240c21cc authored by Sergey Borushevsky's avatar Sergey Borushevsky
Browse files

Related to implementation of EXT-2517 (Add support for the viewer 1.23 chat...

Related to implementation of EXT-2517 (Add support for the viewer 1.23 chat history style (widget-less))
- reverted changes in session processing code in LLIMFloater::onClose in rev. bd3f78cc1c42.

--HG--
branch : product-engine
parent c227f93b
No related branches found
No related tags found
No related merge requests found
...@@ -110,10 +110,10 @@ void LLIMFloater::onFocusReceived() ...@@ -110,10 +110,10 @@ void LLIMFloater::onFocusReceived()
// virtual // virtual
void LLIMFloater::onClose(bool app_quitting) void LLIMFloater::onClose(bool app_quitting)
{ {
if (!gIMMgr->hasSession(mSessionID)) return;
setTyping(false); setTyping(false);
gIMMgr->leaveSession(mSessionID); // SJB: We want the close button to hide the session window, not end it
// *NOTE: Yhis is functional, but not ideal - it's still closing the floater; we really want to change the behavior of the X button instead.
//gIMMgr->leaveSession(mSessionID);
} }
/* static */ /* static */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment