Skip to content
Snippets Groups Projects
Commit af7de5dd authored by AlexanderP ProductEngine's avatar AlexanderP ProductEngine
Browse files

CHUI-170 Workaround for the permanently showing of the nearbychat's name in a...

CHUI-170 Workaround for the permanently showing of the nearbychat's name in a conversations list when that floater is torn-off
parent 6dff1477
No related branches found
No related tags found
No related merge requests found
...@@ -363,6 +363,9 @@ void LLNearbyChat::addToHost() ...@@ -363,6 +363,9 @@ void LLNearbyChat::addToHost()
LLIMFloaterContainer* im_box = LLIMFloaterContainer::getInstance(); LLIMFloaterContainer* im_box = LLIMFloaterContainer::getInstance();
if (im_box) if (im_box)
{ {
// Make sure the Nearby Chat is present in the conversations list
im_box->addConversationListItem(getTitle(), getKey(), this);
if (gSavedSettings.getBOOL("NearbyChatIsNotTornOff")) if (gSavedSettings.getBOOL("NearbyChatIsNotTornOff"))
{ {
im_box->addFloater(this, TRUE, LLTabContainer::END); im_box->addFloater(this, TRUE, LLTabContainer::END);
......
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