mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-26 22:16:51 +01:00
Fix typos
This commit is contained in:
parent
8524f94883
commit
b3c0c403e8
@ -3805,7 +3805,7 @@ void Client::on_update_file(object_ptr<td_api::file> file) {
|
||||
if (!is_file_being_downloaded(file_id)) {
|
||||
return;
|
||||
}
|
||||
if ((!parameters_->local_mode_ || !parameters_->no_file_limit) && file->local_->downloaded_size_ > MAX_DOWNLOAD_FILE_SIZE) {
|
||||
if ((!parameters_->local_mode_ || !parameters_->no_file_limit_) && file->local_->downloaded_size_ > MAX_DOWNLOAD_FILE_SIZE) {
|
||||
if (file->local_->is_downloading_active_) {
|
||||
send_request(make_object<td_api::cancelDownloadFile>(file_id, false),
|
||||
std::make_unique<TdOnCancelDownloadFileCallback>());
|
||||
|
@ -57,7 +57,7 @@ struct ClientParameters {
|
||||
bool local_mode_ = false;
|
||||
bool allow_http_ = false;
|
||||
bool use_relative_path_ = false;
|
||||
bool no_file_limit = true;
|
||||
bool no_file_limit_ = true;
|
||||
|
||||
td::int32 api_id_ = 0;
|
||||
td::string api_hash_;
|
||||
|
Loading…
Reference in New Issue
Block a user