diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-01 09:31:56 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-01 09:31:56 -0400 |
commit | 9698314736252b248921bb3a3459f2bdf539ffba (patch) | |
tree | cff4957f66ae90248466a0dccd6e5886dfb62f55 /indra/newview/llnearbychathandler.cpp | |
parent | ed2222be5d33cb4216e6826507ae1d06e9781253 (diff) | |
parent | 2c584790d0505ebff13d29e9f068aefcffe54f01 (diff) |
merge changes for storm-399
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index f595773bb6..b56fb65a4c 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -562,6 +562,7 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg, const LLSD &args) } */ + // Add a nearby chat toast. LLUUID id; id.generate(); @@ -587,6 +588,10 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg, const LLSD &args) notification["text_color"] = r_color_name; notification["color_alpha"] = r_color_alpha; notification["font_size"] = (S32)LLViewerChat::getChatFontSize() ; + + // Pass sender info so that it can be rendered properly (STORM-1021). + notification["sender_slurl"] = LLViewerChat::getSenderSLURL(chat_msg, args); + channel->addNotification(notification); } |