From 5273b48afeecd9a130557dd763bc557f44d6011d Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 18 Jun 2019 01:33:32 +0300 Subject: [PATCH] Use 0 as photo location secret. GitOrigin-RevId: 53c9f487014da1430a58676424a1ab5797469f25 --- td/telegram/files/FileLocation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/files/FileLocation.h b/td/telegram/files/FileLocation.h index 49300959..cbdd05f1 100644 --- a/td/telegram/files/FileLocation.h +++ b/td/telegram/files/FileLocation.h @@ -461,7 +461,7 @@ class FullRemoteFileLocation { : file_type_(source.file_type) , dc_id_(dc_id) , 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_file_reference(); }