mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
version 0.8.35.dev ready with some optimizations
This commit is contained in:
@@ -682,7 +682,7 @@ void MediaView::showPhoto(PhotoData *photo, PeerData *context) {
|
||||
_photo = photo;
|
||||
_overview = OverviewCount;
|
||||
if (_user) {
|
||||
if (_user->photos.isEmpty() && _user->photosCount < 0 && _user->photoId) {
|
||||
if (_user->photos.isEmpty() && _user->photosCount < 0 && _user->photoId && _user->photoId != UnknownPeerPhotoId) {
|
||||
_index = 0;
|
||||
}
|
||||
for (int i = 0, l = _user->photos.size(); i < l; ++i) {
|
||||
|
Reference in New Issue
Block a user