diff options
| author | Don Kjer <don@lindenlab.com> | 2011-04-01 23:37:30 +0000 |
|---|---|---|
| committer | Don Kjer <don@lindenlab.com> | 2011-04-01 23:37:30 +0000 |
| commit | d292053c04e6adfd48be0484dd5a8a07b48e0541 (patch) | |
| tree | bb8814069df178e2bcae041f2c3e9b11338492db /indra/newview/llchatitemscontainerctrl.cpp | |
| parent | f2bb81d17660054697ed984afc0e3f8d90f77eda (diff) | |
| parent | 1664c9dc678f7aca9c2bbf38d28e00550e03c4dd (diff) | |
Merge with 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); |
