mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Pass cdn_supported flag to upload.getFile.
This commit is contained in:
parent
5d492bfe93
commit
1bcde1b55c
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ mtpRequestId DownloadMtprotoTask::sendRequest(
|
|||
}, [&](const StorageFileLocation &location) {
|
||||
const auto reference = location.fileReference();
|
||||
return api().request(MTPupload_GetFile(
|
||||
MTP_flags(0),
|
||||
MTP_flags(MTPupload_GetFile::Flag::f_cdn_supported),
|
||||
location.tl(api().session().userId()),
|
||||
MTP_int(offset),
|
||||
MTP_int(limit)
|
||||
|
|
Loading…
Add table
Reference in a new issue