minor
GitOrigin-RevId: 01ead4852dbe67fcd04079049039f11b2f1e15e4
This commit is contained in:
parent
655add2ec0
commit
6ef242ad38
@ -282,7 +282,7 @@ void FileLoader::on_result(NetQueryPtr query) {
|
|||||||
|
|
||||||
void FileLoader::on_part_query(Part part, NetQueryPtr query) {
|
void FileLoader::on_part_query(Part part, NetQueryPtr query) {
|
||||||
if (stop_flag_) {
|
if (stop_flag_) {
|
||||||
// important for secret chats
|
// important for secret files
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto status = try_on_part_query(part, std::move(query));
|
auto status = try_on_part_query(part, std::move(query));
|
||||||
|
@ -120,7 +120,7 @@ Result<FileLoader::PrefixInfo> FileUploader::on_update_local_location(const Loca
|
|||||||
} else {
|
} else {
|
||||||
path = location.full().path_;
|
path = location.full().path_;
|
||||||
if (path.empty()) {
|
if (path.empty()) {
|
||||||
return Status::Error("FullLocalFileLocation whith empty path");
|
return Status::Error("FullLocalFileLocation with empty path");
|
||||||
}
|
}
|
||||||
local_is_ready = true;
|
local_is_ready = true;
|
||||||
file_type = location.full().file_type_;
|
file_type = location.full().file_type_;
|
||||||
|
Reference in New Issue
Block a user