diff options
| author | simon_linden <none@none> | 2013-09-09 16:17:16 -0700 |
|---|---|---|
| committer | simon_linden <none@none> | 2013-09-09 16:17:16 -0700 |
| commit | e2019e8a3b5175eb6d7322fbe7c466f213854640 (patch) | |
| tree | 1e2fbeaeb249e0f3f0f91e94af213c1840438581 /indra/newview/llfloaterimcontainer.cpp | |
| parent | 6dd7e0c9ef587c6c05726d407bef8b51018a7a4b (diff) | |
| parent | 2c1d89c57ec21e4790eb14066d2291282a1000b4 (diff) | |
Merge downstream code with viewer-release
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
| -rwxr-xr-x | indra/newview/llfloaterimcontainer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 4591b80ac4..836a455a67 100755 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -674,13 +674,18 @@ void LLFloaterIMContainer::setVisible(BOOL visible) void LLFloaterIMContainer::getDetachedConversationFloaters(floater_list_t& floaters) { typedef conversations_widgets_map::value_type conv_pair; + LLFloaterIMNearbyChat *nearby_chat = LLFloaterReg::findTypedInstance<LLFloaterIMNearbyChat>("nearby_chat"); + BOOST_FOREACH(conv_pair item, mConversationsWidgets) { LLConversationViewSession* widget = dynamic_cast<LLConversationViewSession*>(item.second); if (widget) { LLFloater* session_floater = widget->getSessionFloater(); - if (session_floater && session_floater->isDetachedAndNotMinimized()) + + // Exclude nearby chat from output, as it should be handled separately + if (session_floater && session_floater->isDetachedAndNotMinimized() + && session_floater != nearby_chat) { floaters.push_back(session_floater); } |
