diff --git a/Telegram/SourceFiles/data/data_peer.cpp b/Telegram/SourceFiles/data/data_peer.cpp index d06a572f6c117..e04e6ed68b4d4 100644 --- a/Telegram/SourceFiles/data/data_peer.cpp +++ b/Telegram/SourceFiles/data/data_peer.cpp @@ -336,6 +336,7 @@ void PeerData::paintUserpic( int x, int y, int size) const { + const auto hq = PainterHighQualityEnabler(p); const auto cloud = userpicCloudImage(view); const auto ratio = style::DevicePixelRatio(); Ui::ValidateUserpicCache( diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp b/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp index a67b9b5a9f2f1..881932712a4c2 100644 --- a/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp +++ b/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.cpp @@ -40,6 +40,8 @@ void VideoUserpic::paintLeft( int w, int size, bool paused) { + const auto hq = PainterHighQualityEnabler(p); + _lastSize = size; const auto photoId = _peer->userpicPhotoId();