2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Implement animated stickerset thumbnails.

This commit is contained in:
John Preston
2019-07-02 13:46:37 +02:00
parent db2d24ff32
commit 3b645422ff
11 changed files with 381 additions and 63 deletions

View File

@@ -3516,7 +3516,7 @@ void _readStickerSets(FileKey &stickersKey, Stickers::Order *outOrder = nullptr,
setHash,
MTPDstickerSet::Flags(setFlags),
setInstallDate,
Images::Create(setThumbnail)));
Images::CreateStickerSetThumbnail(setThumbnail)));
}
auto &set = it.value();
auto inputSet = MTP_inputStickerSetID(MTP_long(set.id), MTP_long(set.access));