Fix may_reload_photo.

This commit is contained in:
levlam 2021-10-28 12:57:26 +03:00
parent 377bd18909
commit 318b782c25

View File

@ -323,7 +323,8 @@ class FileView {
return false; return false;
} }
auto type = remote_location().get_source().get_type(); auto type = remote_location().get_source().get_type();
return type != PhotoSizeSource::Type::Legacy && type != PhotoSizeSource::Type::FullLegacy; return type != PhotoSizeSource::Type::Legacy && type != PhotoSizeSource::Type::FullLegacy &&
type != PhotoSizeSource::Type::Thumbnail;
} }
string get_persistent_file_id() const; string get_persistent_file_id() const;