2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00
This commit is contained in:
John Preston
2015-10-27 23:48:17 -04:00

View File

@@ -4363,6 +4363,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);
}
}
}