summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-11-13 09:31:26 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-11-13 09:31:26 +0200
commitb1ac8092eecf5fc9dc4b4867370a51e5dfba4331 (patch)
treedd6ba98d928b6463c9785101aa6c06fcee9d8504 /indra/newview/llavataractions.cpp
parentb00d6c025cad138003f933e037d8a434cbf29c4d (diff)
SL-10790 Don't show excessive information on the Profile Feed tab
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rw-r--r--indra/newview/llavataractions.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index ff00157459..bc9dc968f2 100644
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -83,12 +83,13 @@ const U32 KICK_FLAGS_FREEZE = 1 << 0;
const U32 KICK_FLAGS_UNFREEZE = 1 << 1;
-std::string getProfileURL(const std::string& agent_name)
+std::string getProfileURL(const std::string& agent_name, bool feed_only)
{
- std::string url = "[WEB_PROFILE_URL][AGENT_NAME]";
+ std::string url = "[WEB_PROFILE_URL][AGENT_NAME][FEED_ONLY]";
LLSD subs;
subs["WEB_PROFILE_URL"] = LLGridManager::getInstance()->getWebProfileURL();
subs["AGENT_NAME"] = agent_name;
+ subs["FEED_ONLY"] = feed_only ? "/?feed_only=true" : "";
url = LLWeb::expandURLSubstitutions(url, subs);
LLStringUtil::toLower(url);
return url;