Skip to content
Snippets Groups Projects
Commit eaf86980 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-18137 Open self profile when using app/openfloater/profile

parent ffd731a3
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,7 @@
// *NOTE: Please add files in alphabetical order to keep merges easy.
// handle secondlife:///app/openfloater/{NAME} URLs
const std::string FLOATER_PROFILE("profile");
class LLFloaterOpenHandler : public LLCommandHandler
{
public:
......@@ -185,7 +186,12 @@ class LLFloaterOpenHandler : public LLCommandHandler
}
const std::string floater_name = LLURI::unescape(params[0].asString());
LLFloaterReg::showInstance(floater_name);
LLSD key;
if (floater_name == FLOATER_PROFILE)
{
key["id"] = gAgentID;
}
LLFloaterReg::showInstance(floater_name, key);
return 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