CHUI-170 Workaround for the permanently showing of the nearbychat's name in a conversations list when that floater is torn-off

meow-7.2.2
AlexanderP ProductEngine 2012-07-12 19:06:29 +03:00
parent 6dff1477d5
commit af7de5dd93
1 changed files with 3 additions and 0 deletions

View File

@ -363,6 +363,9 @@ void LLNearbyChat::addToHost()
LLIMFloaterContainer* im_box = LLIMFloaterContainer::getInstance();
if (im_box)
{
// Make sure the Nearby Chat is present in the conversations list
im_box->addConversationListItem(getTitle(), getKey(), this);
if (gSavedSettings.getBOOL("NearbyChatIsNotTornOff"))
{
im_box->addFloater(this, TRUE, LLTabContainer::END);