Skip to content
Snippets Groups Projects
Commit 849ce1e3 authored by maxim_productengine's avatar maxim_productengine
Browse files

MAINT-423 FIXED Unminimize session floater and select this session when sharing initiated.

parent ca967ce0
No related branches found
No related tags found
No related merge requests found
......@@ -525,6 +525,14 @@ void LLAvatarActions::share(const LLUUID& id)
{
// we should always get here, but check to verify anyways
LLIMModel::getInstance()->addMessage(session_id, SYSTEM_FROM, LLUUID::null, LLTrans::getString("share_alert"), false);
LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::findConversation(session_id);
if (session_floater && session_floater->isMinimized())
{
session_floater->setMinimized(false);
}
LLFloaterIMContainer *im_container = LLFloaterReg::getTypedInstance<LLFloaterIMContainer>("im_container");
im_container->selectConversationPair(session_id, true);
}
}
......
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