mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
stickers by alt suggestions in mentions dropdown
This commit is contained in:
@@ -4744,14 +4744,11 @@ bool HistoryGif::dataLoaded() const {
|
||||
HistorySticker::HistorySticker(DocumentData *document) : HistoryMedia()
|
||||
, _pixw(1)
|
||||
, _pixh(1)
|
||||
, _data(document) {
|
||||
, _data(document)
|
||||
, _emoji(_data->sticker()->alt) {
|
||||
_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);
|
||||
}
|
||||
if (EmojiPtr e = emojiFromText(_emoji)) {
|
||||
_emoji = emojiString(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user