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
 | 
							? FileType::WallPaper
 | 
				
			||||||
		: document->isTheme()
 | 
							: document->isTheme()
 | 
				
			||||||
		? FileType::Theme
 | 
							? FileType::Theme
 | 
				
			||||||
		: document->sticker()
 | 
							: (document->sticker() && document->sticker()->isLottie())
 | 
				
			||||||
		? FileType::AnimatedSticker
 | 
							? FileType::AnimatedSticker
 | 
				
			||||||
		: FileType::Video;
 | 
							: FileType::Video;
 | 
				
			||||||
	auto location = document->location().isEmpty()
 | 
						auto location = document->location().isEmpty()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue