diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-06-17 13:22:13 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-06-17 13:22:13 -0700 |
commit | 6215e6ba2542633afc5f8957817015f4bcf9f3cf (patch) | |
tree | b87bf73ccbc2aef3fa44aecdd920c7f9701b2a4e /indra | |
parent | 0d246c0c5fc3ddef2022572b560eaec0018a722e (diff) |
EXP-872 PROGRESS -- Hide inbox unless applicable
* Updated to use the current user's agent id instead of Pup's
Reviewed by Leyla :)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llsidepanelinventory.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp index 32394da042..787ebd29c2 100644 --- a/indra/newview/llsidepanelinventory.cpp +++ b/indra/newview/llsidepanelinventory.cpp @@ -241,10 +241,12 @@ void LLSidepanelInventory::handleLoginComplete() std::string gridLabel = LLGridManager::getInstance()->getGridLabel(); url = llformat("https://marketplace.%s.lindenlab.com/", utf8str_tolower(gridLabel).c_str()); } + + url += "api/1/users/"; + url += gAgent.getID().getString(); + url += "/user_status"; - std::string url_suffix = "api/1/users/b72d31f8-d03c-4a3b-a002-3dd7b4a712b8/user_status"; - - LLHTTPClient::get(url + url_suffix, new LLInventoryUserStatusResponder(this)); + LLHTTPClient::get(url, new LLInventoryUserStatusResponder(this)); // // Track inbox and outbox folder changes |