diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llpanelpeople.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp index 493395fdd1..2e97e8bab9 100644 --- a/indra/newview/llpanelpeople.cpp +++ b/indra/newview/llpanelpeople.cpp @@ -80,8 +80,8 @@ static const std::string BLOCKED_TAB_NAME	= "blocked_panel"; // blocked avatars  static const std::string FBCTEST_TAB_NAME	= "fbctest_panel";  static const std::string COLLAPSED_BY_USER  = "collapsed_by_user"; -static const std::string FBC_SERVICES_URL = "https://pdp15.lindenlab.com"; -static const std::string FBC_SERVICES_REDIRECT_URI = "https://pdp15.lindenlab.com/redirect"; +static const std::string FBC_SERVICES_URL = "https://pdp15.lindenlab.com/fbc"; +static const std::string FBC_SERVICES_REDIRECT_URI = "https://pdp15.lindenlab.com/fbc/redirect";  /** Comparator for comparing avatar items by last interaction date */  class LLAvatarItemRecentComparator : public LLAvatarItemComparator @@ -1739,14 +1739,14 @@ public:  void LLPanelPeople::loadFacebookFriends()  { -	LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc/friends", new FacebookFriendsResponder(this)); +	LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/friends", new FacebookFriendsResponder(this));  }  void LLPanelPeople::tryToReconnectToFacebook()  {  	if (!mConnectedToFbc)  	{ -		LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc", new FacebookConnectedResponder(this, false)); +		LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString(), new FacebookConnectedResponder(this, false));  	}  } @@ -1756,14 +1756,14 @@ void LLPanelPeople::connectToFacebook(const std::string& auth_code)  	body["agent_id"] = gAgentID.asString();  	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::post(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/connect", body, new FacebookConnectResponder(this));  }  void LLPanelPeople::disconnectFromFacebook()  {  	LLSD body;  	body["agent_id"] = gAgentID.asString(); -	LLHTTPClient::post(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc/disconnect", body, new FacebookDisconnectResponder(this)); +	LLHTTPClient::post(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/disconnect", body, new FacebookDisconnectResponder(this));  }  void LLPanelPeople::onLoginFbcButtonClicked() @@ -1774,7 +1774,7 @@ void LLPanelPeople::onLoginFbcButtonClicked()  	}  	else  	{ -		LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString() + "/fbc", new FacebookConnectedResponder(this, true)); +		LLHTTPClient::get(FBC_SERVICES_URL + "/agent/" + gAgentID.asString(), new FacebookConnectedResponder(this, true));  	}  } | 
