diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-03-27 06:43:54 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-03-27 06:43:54 -0400 |
| commit | d6da299f4396488e8b7288e414c451f30df2b56e (patch) | |
| tree | 17dac9ee044034e9459e5236a58f9b237e6d55d4 /indra/newview/llchatitemscontainerctrl.cpp | |
| parent | b2ade764a91ad1b7edcf6e21af76430f670f54fb (diff) | |
| parent | 5b316df2249fc62c1e6a4f089b9726c4e62f23e0 (diff) | |
pull in latest changes from autoubuild2010 branch
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); |
