FileDownloader: bugfix
GitOrigin-RevId: dcdbc014b437c1fcd60378aab951877e2726b7b8
This commit is contained in:
parent
e671318c99
commit
666faca521
@ -327,7 +327,7 @@ FileLoader::Callback *FileDownloader::get_callback() {
|
|||||||
|
|
||||||
Status FileDownloader::process_check_query(NetQueryPtr net_query) {
|
Status FileDownloader::process_check_query(NetQueryPtr net_query) {
|
||||||
has_hash_query_ = false;
|
has_hash_query_ = false;
|
||||||
TRY_RESULT(file_hashes, fetch_result<telegram_api::upload_getCdnFileHashes>(net_query->ok()));
|
TRY_RESULT(file_hashes, fetch_result<telegram_api::upload_getCdnFileHashes>(std::move(net_query)));
|
||||||
add_hash_info(file_hashes);
|
add_hash_info(file_hashes);
|
||||||
return Status::OK();
|
return Status::OK();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user