mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-11 01:10:13 +00:00
improved emoji strings in sticker description
This commit is contained in:
parent
5423abaa19
commit
63dbf7e9ef
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user