Fix misprint.

GitOrigin-RevId: e7bcfcd2ada1b78906d5e5f9228e920be2a00a8c
This commit is contained in:
levlam 2020-01-06 18:02:42 +03:00
parent b88730f635
commit a06f02b747
2 changed files with 4 additions and 4 deletions

View File

@ -79,8 +79,8 @@ StringBuilder &operator<<(StringBuilder &string_builder, FileManager::Query::Typ
return string_builder << "UploadWaitFileReference"; return string_builder << "UploadWaitFileReference";
case FileManager::Query::Type::Upload: case FileManager::Query::Type::Upload:
return string_builder << "Upload"; return string_builder << "Upload";
case FileManager::Query::Type::DownloadWaitFileReferece: case FileManager::Query::Type::DownloadWaitFileReference:
return string_builder << "DownloadWaitFileReferece"; return string_builder << "DownloadWaitFileReference";
case FileManager::Query::Type::DownloadReloadDialog: case FileManager::Query::Type::DownloadReloadDialog:
return string_builder << "DownloadReloadDialog"; return string_builder << "DownloadReloadDialog";
case FileManager::Query::Type::Download: case FileManager::Query::Type::Download:
@ -2189,7 +2189,7 @@ void FileManager::run_download(FileNodePtr node) {
// If file reference is needed // If file reference is needed
if (!file_view.has_active_download_remote_location()) { if (!file_view.has_active_download_remote_location()) {
VLOG(file_references) << "Do not have valid file_reference for file " << file_id; VLOG(file_references) << "Do not have valid file_reference for file " << file_id;
QueryId id = queries_container_.create(Query{file_id, Query::Type::DownloadWaitFileReferece}); QueryId id = queries_container_.create(Query{file_id, Query::Type::DownloadWaitFileReference});
node->download_id_ = id; node->download_id_ = id;
if (node->download_was_update_file_reference_) { if (node->download_was_update_file_reference_) {
on_error(id, Status::Error("Can't download file: have no valid file reference")); on_error(id, Status::Error("Can't download file: have no valid file reference"));

View File

@ -499,7 +499,7 @@ class FileManager : public FileLoadManager::Callback {
UploadByHash, UploadByHash,
UploadWaitFileReference, UploadWaitFileReference,
Upload, Upload,
DownloadWaitFileReferece, DownloadWaitFileReference,
DownloadReloadDialog, DownloadReloadDialog,
Download, Download,
SetContent, SetContent,