diff --git a/td/telegram/files/FileLoader.cpp b/td/telegram/files/FileLoader.cpp index 7f880a95c..de3cc8a48 100644 --- a/td/telegram/files/FileLoader.cpp +++ b/td/telegram/files/FileLoader.cpp @@ -282,7 +282,7 @@ void FileLoader::on_result(NetQueryPtr query) { void FileLoader::on_part_query(Part part, NetQueryPtr query) { if (stop_flag_) { - // important for secret chats + // important for secret files return; } auto status = try_on_part_query(part, std::move(query)); diff --git a/td/telegram/files/FileUploader.cpp b/td/telegram/files/FileUploader.cpp index 959875992..27381d04d 100644 --- a/td/telegram/files/FileUploader.cpp +++ b/td/telegram/files/FileUploader.cpp @@ -120,7 +120,7 @@ Result FileUploader::on_update_local_location(const Loca } else { path = location.full().path_; if (path.empty()) { - return Status::Error("FullLocalFileLocation whith empty path"); + return Status::Error("FullLocalFileLocation with empty path"); } local_is_ready = true; file_type = location.full().file_type_;