diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 4bb4f01..a46614f 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -8202,7 +8202,7 @@ td::string Client::get_local_file_path(td::Slice file_uri) { td_api::object_ptr Client::get_input_file(const Query *query, td::Slice field_name, td::Slice file_id, bool force_file) const { if (!file_id.empty()) { - if (parameters_->local_mode_) { + if (parameters_->local_mode_ && false) { td::Slice file_protocol{"file:/"}; if (td::begins_with(file_id, file_protocol)) { return make_object(get_local_file_path(file_id.substr(file_protocol.size()))); @@ -13518,7 +13518,7 @@ void Client::json_store_file(td::JsonObjectScope &object, const td_api::file *fi object("file_size", file->size_); } if (with_path && file->local_->is_downloading_completed_) { - if (parameters_->local_mode_) { + if (parameters_->local_mode_ && false) { if (td::check_utf8(file->local_->path_)) { object("file_path", file->local_->path_); } else {