diff options
author | Oz Linden <oz@lindenlab.com> | 2011-02-17 18:52:15 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-02-17 18:52:15 -0500 |
commit | 65ca5968cd59663c3567287c14ce506e37c085c4 (patch) | |
tree | b74325f43d5757fdab1ce607b4f6aff94529e7b3 /indra/newview/llviewermessage.cpp | |
parent | 49e28d324066add8cca44e27806b8077d3b0c542 (diff) | |
parent | cba34d7d4cdb0339113a4798965d595645d5cb49 (diff) |
Automated merge with file:///Users/oz/Work/viewer-vs2010
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 6fc85a3944..103989ee80 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -2721,6 +2721,14 @@ void process_improved_im(LLMessageSystem *msg, void **user_data) LLSD args; args["slurl"] = location; args["type"] = LLNotificationsUI::NT_NEARBYCHAT; + + // Look for IRC-style emotes here so object name formatting is correct + std::string prefix = message.substr(0, 4); + if (prefix == "/me " || prefix == "/me'") + { + chat.mChatStyle = CHAT_STYLE_IRC; + } + LLNotificationsUI::LLNotificationManager::instance().onChat(chat, args); } |