GitOrigin-RevId: 01ead4852dbe67fcd04079049039f11b2f1e15e4
This commit is contained in:
Arseny Smirnov 2019-07-30 21:29:52 +03:00
parent 655add2ec0
commit 6ef242ad38
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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_;