summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsession.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-08-30 04:35:48 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-08-30 12:16:46 +0200
commit44098db8b3fd96726fec7ec4b68b258a3408dff0 (patch)
treefd33e370f9dce7066f7602a7dc24481f552e66e2 /indra/newview/llfloaterimsession.cpp
parentf18746a1753fc8d5338fcaeb839540a071c68b13 (diff)
SL-20210 Recent Emojis - Remember emojis that were actually sent in the message
Diffstat (limited to 'indra/newview/llfloaterimsession.cpp')
-rw-r--r--indra/newview/llfloaterimsession.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimsession.cpp b/indra/newview/llfloaterimsession.cpp
index ee9dc35283..ed2a2807b5 100644
--- a/indra/newview/llfloaterimsession.cpp
+++ b/indra/newview/llfloaterimsession.cpp
@@ -249,6 +249,8 @@ void LLFloaterIMSession::sendMsgFromInputEditor()
LLWStringUtil::replaceChar(text,182,'\n'); // Convert paragraph symbols back into newlines.
if(!text.empty())
{
+ updateUsedEmojis(text);
+
// Truncate and convert to UTF8 for transport
std::string utf8_text = wstring_to_utf8str(text);