Skip to content
Snippets Groups Projects
Commit 33d6f8a5 authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

CHUI-934 FIXED Don't try to close Session floater if it is already doesn't exist.

parent c59aeef9
No related branches found
No related tags found
No related merge requests found
......@@ -469,7 +469,10 @@ void LLFloaterIMSession::addP2PSessionParticipants(const LLSD& notification, con
temp_ids.insert(temp_ids.end(), uuids.begin(), uuids.end());
// then we can close the current session
onClose(false);
if(findInstance(mSessionID))
{
onClose(false);
}
// we start a new session so reset the initialization flag
mSessionInitialized = false;
......
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