summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpeople.cpp
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-04-05 03:15:35 +0100
committerCho <cho@lindenlab.com>2013-04-05 03:15:35 +0100
commit10dba6b20148868ab630e53ac9aec67d2ed01cc1 (patch)
tree97544b00b49a9aef2048e6f2f21df4b4ab44751e /indra/newview/llpanelpeople.cpp
parente83e62956bda18f2b8892c89d58f82cba7ccdd6c (diff)
changed routes according to Kelly's and Enkidu's advice
Diffstat (limited to 'indra/newview/llpanelpeople.cpp')
-rw-r--r--indra/newview/llpanelpeople.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp
index 2ca22a1382..4bcd146ad2 100644
--- a/indra/newview/llpanelpeople.cpp
+++ b/indra/newview/llpanelpeople.cpp
@@ -1741,7 +1741,7 @@ void LLPanelPeople::tryToReconnectToFacebook()
{
if (!mConnectedToFbc)
{
- LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc/connected", new FacebookConnectedResponder(this, false));
+ LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc", new FacebookConnectedResponder(this, false));
}
}
@@ -1750,12 +1750,12 @@ void LLPanelPeople::connectToFacebook(const std::string& auth_code)
LLSD body;
body["code"] = auth_code;
body["redirect_uri"] = FBC_SERVICES_REDIRECT_URI;
- LLHTTPClient::post(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc/connect", body, new FacebookConnectResponder(this));
+ LLHTTPClient::put(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc", body, new FacebookConnectResponder(this));
}
void LLPanelPeople::disconnectFromFacebook()
{
- LLHTTPClient::post(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc/disconnect", LLSD(), new FacebookDisconnectResponder(this));
+ LLHTTPClient::del(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc", new FacebookDisconnectResponder(this));
}
void LLPanelPeople::onLoginFbcButtonClicked()
@@ -1766,7 +1766,7 @@ void LLPanelPeople::onLoginFbcButtonClicked()
}
else
{
- LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc/connected", new FacebookConnectedResponder(this, true));
+ LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc", new FacebookConnectedResponder(this, true));
}
}