From 63dbf7e9ef9b4653bcd1b2c1f0d9fd32fa5e79cd Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 27 Oct 2015 23:47:55 -0400 Subject: [PATCH] improved emoji strings in sticker description --- Telegram/SourceFiles/history.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/history.cpp b/Telegram/SourceFiles/history.cpp index ab0e34da5..68a4fd6c3 100644 --- a/Telegram/SourceFiles/history.cpp +++ b/Telegram/SourceFiles/history.cpp @@ -4380,6 +4380,10 @@ HistorySticker::HistorySticker(DocumentData *document) : HistoryMedia() data->thumb->load(); if (!data->sticker()->alt.isEmpty()) { _emoji = data->sticker()->alt; + int32 elen = 0; + if (EmojiPtr e = emojiFromText(_emoji.constData(), _emoji.constEnd(), elen)) { + _emoji = emojiString(e); + } } }