summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsessiontab.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2012-11-15 23:35:14 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2012-11-15 23:35:14 +0200
commit16f5a67e6550c2041b69b5c8523ad9884d7110f1 (patch)
tree5a436193f0b4d1c54fdc747ca002d62ed76a67f9 /indra/newview/llfloaterimsessiontab.cpp
parent4ea44918dd040520bdd8eb1e52f2b6ba6cfa6f8b (diff)
CHUI-442 FIXED Nearby chat does not open conversations floater when clicking first nearby chat toast in a session
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
-rw-r--r--indra/newview/llfloaterimsessiontab.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp
index 3a1cc2880a..da77ca0079 100644
--- a/indra/newview/llfloaterimsessiontab.cpp
+++ b/indra/newview/llfloaterimsessiontab.cpp
@@ -165,6 +165,11 @@ void LLFloaterIMSessionTab::addToHost(const LLUUID& session_id)
|| gSavedSettings.getBOOL("NearbyChatIsNotTornOff"))
{
floater_container->addFloater(conversp, TRUE, LLTabContainer::END);
+
+ if (!floater_container->getVisible())
+ {
+ LLFloaterReg::toggleInstanceOrBringToFront("im_container");
+ }
}
else
{