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
meow-7.2.2
Yuri Chebotarev 2010-04-21 17:38:59 +03:00
parent 7bd93fb12e
commit c713af7c63
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}