mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Generate good video thumbnail for Webm stickers.
This commit is contained in:
@@ -409,7 +409,7 @@ void DocumentMedia::GenerateGoodThumbnail(
|
||||
? FileType::WallPaper
|
||||
: document->isTheme()
|
||||
? FileType::Theme
|
||||
: document->sticker()
|
||||
: (document->sticker() && document->sticker()->isLottie())
|
||||
? FileType::AnimatedSticker
|
||||
: FileType::Video;
|
||||
auto location = document->location().isEmpty()
|
||||
|
||||
Reference in New Issue
Block a user