diff options
| author | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-08-02 18:58:54 -0700 | 
|---|---|---|
| committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-08-02 18:58:54 -0700 | 
| commit | 163430156878fa7073aa51a96aa10c75c60f0c41 (patch) | |
| tree | 2341c92ff07a41a2d5588ab617b89c203e9efd18 /indra | |
| parent | a4bad4ba21787c6895368f5eb5cda7c3881d57da (diff) | |
| parent | 56b54aaf2954765f68c4fbe843495fdcdb918744 (diff) | |
merge
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llfloatersocial.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp index 4cbc9c0218..eb9a7d2400 100644 --- a/indra/newview/llfloatersocial.cpp +++ b/indra/newview/llfloatersocial.cpp @@ -53,6 +53,7 @@ static LLRegisterPanelClassWrapper<LLSocialCheckinPanel> t_panel_checkin("llsoci  static LLRegisterPanelClassWrapper<LLSocialAccountPanel> t_panel_account("llsocialaccountpanel");  const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte +const std::string DEFAULT_CHECKIN_LOCATION_URL = "http://maps.secondlife.com/";  const std::string DEFAULT_CHECKIN_ICON_URL = "http://logok.org/wp-content/uploads/2010/07/podcastlogo1.jpg";  std::string get_map_url() @@ -582,6 +583,13 @@ void LLSocialCheckinPanel::sendCheckin()  	LLSLURL slurl;  	LLAgentUI::buildSLURL(slurl);  	std::string slurl_string = slurl.getSLURLString(); + +	// Use a valid http:// URL if the scheme is secondlife://  +	LLURI slurl_uri(slurl_string); +	if (slurl_uri.scheme() == LLSLURL::SLURL_SECONDLIFE_SCHEME) +	{ +		slurl_string = DEFAULT_CHECKIN_LOCATION_URL; +	}  	// Get the region name  	std::string region_name = gAgent.getRegion()->getName();  | 
