summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2010-02-17 17:43:13 +0200
committerIgor Borovkov <iborovkov@productengine.com>2010-02-17 17:43:13 +0200
commit73d192a4084132636a9a4eab9c44415bb11161dc (patch)
tree7e77774d8890d15809d74bfc6e6bd1b73ee06074 /indra/newview
parent99f6fa0e828aa088d7106ce7fe2b62c3311cb535 (diff)
fixed EXT-5367 Emotes '/me says ...' out of context when nearby chat or group chat window expanded.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llchathistory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index 3fb043c669..8625fe5900 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -796,6 +796,12 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
}
}
+ if (irc_me && !use_plain_text_chat_history)
+ {
+ message = chat.mFromName + message;
+ }
+
+
mEditor->appendText(message, FALSE, style_params);
}
mEditor->blockUndo();