diff --git a/Telegram/SourceFiles/storage/storage_media_prepare.cpp b/Telegram/SourceFiles/storage/storage_media_prepare.cpp index 65c452bb6..add489847 100644 --- a/Telegram/SourceFiles/storage/storage_media_prepare.cpp +++ b/Telegram/SourceFiles/storage/storage_media_prepare.cpp @@ -81,17 +81,17 @@ bool PrepareAlbumMediaIsWaiting( if (const auto image = base::get_if( &file.information->media)) { if (ValidPhotoForAlbum(*image)) { - file.preview = image->data.scaledToWidth( + file.preview = Images::prepareOpaque(image->data.scaledToWidth( std::min(previewWidth, convertScale(image->data.width())) * cIntRetinaFactor(), - Qt::SmoothTransformation); + Qt::SmoothTransformation)); file.preview.setDevicePixelRatio(cRetinaFactor()); file.type = PreparedFile::AlbumType::Photo; } } else if (const auto video = base::get_if