diff options
author | Merov Linden <merov@lindenlab.com> | 2011-03-25 16:43:49 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-03-25 16:43:49 -0700 |
commit | b7b9a37bc13d40a3caf7ea77d6857c2bb6036e06 (patch) | |
tree | 31b49f69a8661b85cc29324e565ddf76c701139b /indra/newview/llchatitemscontainerctrl.cpp | |
parent | fbb280d84e2b960cfb68e39c251878329b4f4fce (diff) | |
parent | df450ff17b7a6bb27049f6f462e75fe0763644c3 (diff) |
STORM-1021 : pull into viewer-development
Diffstat (limited to 'indra/newview/llchatitemscontainerctrl.cpp')
-rw-r--r-- | indra/newview/llchatitemscontainerctrl.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp index 899e0431e7..8584885bc9 100644 --- a/indra/newview/llchatitemscontainerctrl.cpp +++ b/indra/newview/llchatitemscontainerctrl.cpp @@ -213,17 +213,6 @@ void LLNearbyChatToastPanel::init(LLSD& notification) { LLStyle::Params style_params_name; - std::string href; - - if (mSourceType == CHAT_SOURCE_AGENT) - { - href = LLSLURL("agent", mFromID, "about").getSLURLString(); - } - else - { - href = LLSLURL("object", mFromID, "inspect").getSLURLString(); - } - LLColor4 user_name_color = LLUIColorTable::instance().getColor("HTMLLinkColor"); style_params_name.color(user_name_color); @@ -232,7 +221,7 @@ void LLNearbyChatToastPanel::init(LLSD& notification) style_params_name.font.name(font_name); style_params_name.font.size(font_style_size); - style_params_name.link_href = href; + style_params_name.link_href = notification["sender_slurl"].asString(); style_params_name.is_link = true; msg_text->appendText(str_sender, FALSE, style_params_name); |