diff --git a/td/telegram/files/FileUploader.cpp b/td/telegram/files/FileUploader.cpp index ae6633e24..49675f10c 100644 --- a/td/telegram/files/FileUploader.cpp +++ b/td/telegram/files/FileUploader.cpp @@ -90,6 +90,7 @@ Result FileUploader::init() { LOG(DEBUG) << "Init file uploader for " << remote_ << " with offset = " << offset << " and part size = " << part_size; FileInfo res; res.size = local_size_; + res.expected_size = expected_size_; res.is_size_final = local_is_ready_; res.part_size = part_size; res.ready_parts = std::move(parts);