Use 0 as photo location secret.

GitOrigin-RevId: 53c9f487014da1430a58676424a1ab5797469f25
This commit is contained in:
levlam 2019-06-18 01:33:32 +03:00
parent 5d69183fce
commit 5273b48afe

View File

@ -461,7 +461,7 @@ class FullRemoteFileLocation {
: file_type_(source.file_type) : file_type_(source.file_type)
, dc_id_(dc_id) , dc_id_(dc_id)
, file_reference_(std::move(file_reference)) , file_reference_(std::move(file_reference))
, variant_(PhotoRemoteFileLocation{id, access_hash, volume_id, -1, local_id, source}) { , variant_(PhotoRemoteFileLocation{id, access_hash, volume_id, 0, local_id, source}) {
CHECK(is_photo()); CHECK(is_photo());
check_file_reference(); check_file_reference();
} }