diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-10-18 18:11:29 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-10-18 18:11:29 -0400 |
commit | 5ef8545f63221db002d14cdcd1c7bac2e96a5e0a (patch) | |
tree | 1d4277a0c22de145d1b4d9936718758005e5067d /indra/newview/llavataractions.cpp | |
parent | 993136fe347075b71f649ec70ce1a463afb073f8 (diff) |
consolidate generating profile URL, force to lower case
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-x[-rw-r--r--] | indra/newview/llavataractions.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index 42701bcff9..219fca66bd 100644..100755 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -56,6 +56,7 @@ #include "llmutelist.h" #include "llnotificationsutil.h" // for LLNotificationsUtil #include "llpaneloutfitedit.h" +#include "llpanelprofile.h" #include "llrecentpeople.h" #include "llsidetray.h" #include "lltrans.h" @@ -319,11 +320,9 @@ void LLAvatarActions::showProfile(const LLUUID& id) std::string first_name,last_name; if (gCacheName->getName(id,first_name,last_name)) { - llinfos << "opening web profile for " << first_name << "." << last_name << llendl; - std::string url = gSavedSettings.getString("WebProfileURL"); - LLSD subs; - subs["AGENT_NAME"] = first_name + "." + last_name; - url = LLWeb::expandURLSubstitutions(url,subs); + std::string agent_name = first_name + "." + last_name; + llinfos << "opening web profile for " << agent_name << llendl; + std::string url = getProfileURL(agent_name); LLWeb::loadURL(url); } else |