mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Generate good video thumbnail for Webm stickers.
This commit is contained in:
parent
079772a399
commit
9b59ef00af
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue