mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
improved emoji strings in sticker description
This commit is contained in:
parent
5423abaa19
commit
63dbf7e9ef
1 changed files with 4 additions and 0 deletions
|
@ -4380,6 +4380,10 @@ HistorySticker::HistorySticker(DocumentData *document) : HistoryMedia()
|
||||||
data->thumb->load();
|
data->thumb->load();
|
||||||
if (!data->sticker()->alt.isEmpty()) {
|
if (!data->sticker()->alt.isEmpty()) {
|
||||||
_emoji = data->sticker()->alt;
|
_emoji = data->sticker()->alt;
|
||||||
|
int32 elen = 0;
|
||||||
|
if (EmojiPtr e = emojiFromText(_emoji.constData(), _emoji.constEnd(), elen)) {
|
||||||
|
_emoji = emojiString(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue