diff --git a/Telegram/SourceFiles/history/view/media/history_view_document.cpp b/Telegram/SourceFiles/history/view/media/history_view_document.cpp index 2134e9b56..51f7802c7 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_document.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_document.cpp @@ -736,7 +736,8 @@ void Document::validateThumbnail( } const auto small = (rounding == Ui::BubbleRounding()); auto image = normal ? normal : blurred; - auto thumbnail = Images::Prepare(image->original(), thumbed->thumbw, { + const auto imageWidth = thumbed->thumbw * style::DevicePixelRatio(); + auto thumbnail = Images::Prepare(image->original(), imageWidth, { .options = (normal ? Images::Option() : Images::Option::Blur) | (small ? Images::Option::RoundSmall : Images::Option()), .outer = outer,