2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Validate mime type of animated stickers.

This commit is contained in:
John Preston
2019-05-27 14:57:26 +02:00
parent c4aac5fa0e
commit 3577e71782
5 changed files with 61 additions and 65 deletions

View File

@@ -52,6 +52,7 @@ struct StickerData : public DocumentAdditionalData {
Data::FileOrigin setOrigin() const;
std::unique_ptr<Image> image;
bool animated = false;
QString alt;
MTPInputStickerSet set = MTP_inputStickerSetEmpty();
StorageImageLocation loc; // doc thumb location