Revert "Pass cdn_supported flag to upload.getFile."

This reverts commit 7751f383ca.
This commit is contained in:
John Preston 2020-01-20 13:39:18 +03:00
parent 12873f8be0
commit 98bc7ce49b
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ mtpRequestId DownloadMtprotoTask::sendRequest(
}, [&](const StorageFileLocation &location) {
const auto reference = location.fileReference();
return api().request(MTPupload_GetFile(
MTP_flags(MTPupload_GetFile::Flag::f_cdn_supported),
MTP_flags(0),
location.tl(api().session().userId()),
MTP_int(offset),
MTP_int(limit)