mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-25 04:38:23 +00:00
Pass cdn_supported flag to upload.getFile.
This commit is contained in:
parent
431521a8f5
commit
7751f383ca
@ -553,7 +553,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…
Reference in New Issue
Block a user