diff --git a/td/telegram/StickersManager.hpp b/td/telegram/StickersManager.hpp index 72d3a1692..f332b8cab 100644 --- a/td/telegram/StickersManager.hpp +++ b/td/telegram/StickersManager.hpp @@ -335,7 +335,7 @@ void StickersManager::parse_sticker_set(StickerSet *sticker_set, ParserT &parser if (has_thumbnail_document_id) { parse(thumbnail_document_id, parser); } - if (!is_mixed_format) { + if (!is_mixed_format && thumbnail.file_id.is_valid()) { if (legacy_is_webm) { thumbnail.type = 'v'; } else if (legacy_is_tgs) {