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

MAINT-5233 FIXED Viewer fall into recourse and crash when try open chat floater

parent e772df53
No related branches found
No related tags found
No related merge requests found
......@@ -640,12 +640,12 @@ void LLFloaterIMContainer::setVisible(BOOL visible)
nearby_chat = LLFloaterReg::findTypedInstance<LLFloaterIMNearbyChat>("nearby_chat");
if ((nearby_chat == NULL) || mIsFirstOpen)
{
mIsFirstOpen = false;
// If not found, force the creation of the nearby chat conversation panel
// *TODO: find a way to move this to XML as a default panel or something like that
LLSD name("nearby_chat");
LLFloaterReg::toggleInstanceOrBringToFront(name);
selectConversationPair(LLUUID(NULL), false, false);
mIsFirstOpen = false;
}
flashConversationItemWidget(mSelectedSession,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