diff options
| author | prep <prep@lindenlab.com> | 2011-03-28 11:13:20 -0400 |
|---|---|---|
| committer | prep <prep@lindenlab.com> | 2011-03-28 11:13:20 -0400 |
| commit | dd475862d7953081b077e4280a6037f5c2bbc065 (patch) | |
| tree | 9f345b3a56e4cf441b268904b1e7c933ec3abd58 /indra/newview/llchatitemscontainerctrl.cpp | |
| parent | 115f05100387a8f57ddb99e578657994ca80e5e6 (diff) | |
| parent | 690105630e7738ffb995f3aa061b1c5c5aaf2830 (diff) | |
merge
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); |
