Support FILE_PART_INVALID errors for sendMedia.

This commit is contained in:
levlam 2023-07-05 13:08:10 +03:00
parent ad193a389c
commit c827eaab6f

View File

@ -944,6 +944,9 @@ vector<int> FileManager::get_missing_file_parts(const Status &error) {
result.push_back(r_file_part.ok());
}
}
if (error_message == "FILE_PART_INVALID") {
result.push_back(0);
}
return result;
}