Fix loading thumbnails in videos in albums.

Once more fixes #6332.
This commit is contained in:
John Preston 2020-02-07 13:34:24 +04:00
parent 77719750ee
commit 07cc05f62e

View File

@ -1120,6 +1120,9 @@ void Gif::validateGroupedCache(
&& thumb->height() < kUseNonBlurredThreshold));
if (good && !useGood) {
good->load({});
if (!useThumb) {
_data->loadThumbnail(_realParent->fullId());
}
}
const auto loadLevel = useGood ? 3 : useThumb ? 2 : image ? 1 : 0;