Support FILE_PART_INVALID errors for sendMedia.
This commit is contained in:
parent
ad193a389c
commit
c827eaab6f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user