diff options
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llimpanel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llimpanel.cpp b/linden/indra/newview/llimpanel.cpp index 5088343..243ef49 100644 --- a/linden/indra/newview/llimpanel.cpp +++ b/linden/indra/newview/llimpanel.cpp | |||
@@ -2105,6 +2105,8 @@ void LLFloaterIMPanel::sendMsg() | |||
2105 | LLWString text = mInputEditor->getConvertedText(); | 2105 | LLWString text = mInputEditor->getConvertedText(); |
2106 | if(!text.empty()) | 2106 | if(!text.empty()) |
2107 | { | 2107 | { |
2108 | // store sent line in history, duplicates will get filtered | ||
2109 | if (mInputEditor) mInputEditor->updateHistory(); | ||
2108 | // Truncate and convert to UTF8 for transport | 2110 | // Truncate and convert to UTF8 for transport |
2109 | std::string utf8_text = wstring_to_utf8str(text); | 2111 | std::string utf8_text = wstring_to_utf8str(text); |
2110 | utf8_text = utf8str_truncate(utf8_text, MAX_MSG_BUF_SIZE - 1); | 2112 | utf8_text = utf8str_truncate(utf8_text, MAX_MSG_BUF_SIZE - 1); |