mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow WebDocument video thumbnails.
This commit is contained in:
@@ -721,9 +721,7 @@ int DocumentData::thumbnailByteSize() const {
|
||||
}
|
||||
|
||||
bool DocumentData::hasVideoThumbnail() const {
|
||||
return _videoThumbnailLocation.valid()
|
||||
&& (_videoThumbnailLocation.width() > 0)
|
||||
&& (_videoThumbnailLocation.height() > 0);
|
||||
return _videoThumbnailLocation.valid();
|
||||
}
|
||||
|
||||
bool DocumentData::videoThumbnailLoading() const {
|
||||
|
Reference in New Issue
Block a user