diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp index 210cc88da..aca34d996 100644 --- a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp +++ b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp @@ -2528,6 +2528,15 @@ void OverlayWidget::validatePhotoCurrentImage() { validatePhotoImage(_photo->thumbnail(), true); validatePhotoImage(_photo->thumbnailSmall(), true); validatePhotoImage(_photo->thumbnailInline(), true); + if (_current.isNull() + && _peer + && !_msgid + && _peer->userpicLoaded() + && _peer->userpicLocation().file().valid()) { + validatePhotoImage( + Images::Create(_peer->userpicLocation()).get(), + true); + } if (_current.isNull()) { _photo->loadThumbnailSmall(fileOrigin()); }