Add some comment with example SLURL for "addgrid"

master
Ansariel 2022-11-14 12:34:02 +01:00
parent ef917cd5de
commit 06b56944af
1 changed files with 2 additions and 1 deletions

View File

@ -1425,7 +1425,6 @@ std::string LLGridManager::getAppSLURLBase(const std::string& grid)
class FSGridManagerCommandHandler : public LLCommandHandler
{
public:
// not allowed from outside the app
FSGridManagerCommandHandler() : LLCommandHandler("gridmanager", UNTRUSTED_THROTTLE),
mDownloadConnection()
{ }
@ -1445,6 +1444,8 @@ public:
return false;
}
// Automatically add and select grid via secondlife:///app/gridmanager/addgrid/<URL-encoded login URI>
// Example: secondlife:///app/gridmanager/addgrid/http%3A%2F%2Fgrid.avatarlife.com%3A8002
if (params[0].asString() == "addgrid")
{
std::string login_uri = LLURI::unescape(params[1].asString());