diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index b7c614d09c3ec59ff22dcd49bbf1a3500e74b9f5..4a487bd5a7c84a2903a71263358d12b64156aa6f 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -107,7 +107,9 @@ void LLIMFloater::onFocusReceived()
 void LLIMFloater::onClose(bool app_quitting)
 {
 	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 */