CHUI-162 : Simplified the nearby chat show method following CHUI-139 fixes
parent
ea77a959b7
commit
c9da4d0a6d
|
|
@ -397,23 +397,11 @@ LLNearbyChat* LLNearbyChat::getInstance()
|
|||
|
||||
void LLNearbyChat::show()
|
||||
{
|
||||
// Get the floater
|
||||
LLNearbyChat* floater = LLNearbyChat::getInstance();
|
||||
if (floater)
|
||||
if (isChatMultiTab())
|
||||
{
|
||||
if(isChatMultiTab())
|
||||
{
|
||||
LLIMFloaterContainer* floater_container = LLIMFloaterContainer::getInstance();
|
||||
|
||||
// Add a conversation list item in the left pane: nothing will be done if already in there
|
||||
// but relevant clean up will be done to ensure consistency of the conversation list
|
||||
floater_container->addConversationListItem(floater->getTitle(), LLUUID(), floater);
|
||||
|
||||
floater->openFloater(floater->getKey());
|
||||
}
|
||||
|
||||
floater->setVisible(TRUE);
|
||||
openFloater(getKey());
|
||||
}
|
||||
setVisible(TRUE);
|
||||
}
|
||||
|
||||
void LLNearbyChat::showHistory()
|
||||
|
|
|
|||
Loading…
Reference in New Issue