summaryrefslogtreecommitdiff
path: root/indra/newview/llchatitemscontainerctrl.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-04-21 17:38:59 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-04-21 17:38:59 +0300
commitc713af7c63f3d354152bd84aed43fecd334ebfa4 (patch)
tree1366c73edf417e6c2bc209fb6124e70757077dbb /indra/newview/llchatitemscontainerctrl.cpp
parent7bd93fb12e89fdc30549c5f199dd9f6e4c3a2b5d (diff)
fix for EXT-6064 Clicking avatar name in nearby chat toast opens nearby chat history instead of avatar profile.
https://codereview.productengine.com/secondlife/r/287/ reviwed Vadim Savchuk --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchatitemscontainerctrl.cpp')
-rw-r--r--indra/newview/llchatitemscontainerctrl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp
index aef36b677c..6ee14e8ba9 100644
--- a/indra/newview/llchatitemscontainerctrl.cpp
+++ b/indra/newview/llchatitemscontainerctrl.cpp
@@ -44,6 +44,8 @@
#include "llviewercontrol.h"
#include "llagentdata.h"
+#include "llslurl.h"
+
static const S32 msg_left_offset = 10;
static const S32 msg_right_offset = 10;
static const S32 msg_height_pad = 5;
@@ -190,6 +192,8 @@ 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 = LLSLURL::buildCommand("agent",mFromID,"about");
+
msg_text->appendText(str_sender, FALSE, style_params_name);
}