From b497b121ed2d8964160ee79003debb9f5ab62a49 Mon Sep 17 00:00:00 2001 From: Cho Date: Tue, 25 Jun 2013 23:19:53 +0100 Subject: used default SL logo for image-less checkins for ACME-613 --- indra/newview/llfloatersocial.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp index 9b27024eed..b3c0481968 100644 --- a/indra/newview/llfloatersocial.cpp +++ b/indra/newview/llfloatersocial.cpp @@ -43,6 +43,7 @@ static LLRegisterPanelClassWrapper t_panel_photo("llsocialph static LLRegisterPanelClassWrapper t_panel_checkin("llsocialcheckinpanel"); const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte +const std::string DEFAULT_CHECKIN_ICON_URL = "http://logok.org/wp-content/uploads/2010/07/podcastlogo1.jpg"; std::string get_map_url() { @@ -411,7 +412,7 @@ void LLSocialCheckinPanel::onSend() // Optionally add the region map view bool add_map_view = getChild("add_place_view_cb")->getValue().asBoolean(); - std::string map_url = (add_map_view ? get_map_url() : ""); + std::string map_url = (add_map_view ? get_map_url() : DEFAULT_CHECKIN_ICON_URL); // Get the caption std::string caption = getChild("place_caption")->getValue().asString(); -- cgit v1.2.3