mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-14 08:41:02 +03:00
This reverts commit 43ec57c769.
This commit is contained in:
@@ -880,7 +880,6 @@ async fn handle_fs(
|
||||
let path = get_string(&fs::TransferJob::join(p, &file.name));
|
||||
match is_write_need_confirmation(&path, &digest) {
|
||||
Ok(digest_result) => {
|
||||
job.set_digest(file_size, last_modified);
|
||||
match digest_result {
|
||||
DigestCheckResult::IsSame => {
|
||||
req.set_skip(true);
|
||||
@@ -910,13 +909,6 @@ async fn handle_fs(
|
||||
}
|
||||
}
|
||||
}
|
||||
ipc::FS::SendConfirm(bytes) => {
|
||||
if let Ok(r) = FileTransferSendConfirmRequest::parse_from_bytes(&bytes) {
|
||||
if let Some(job) = fs::get_job(r.id, write_jobs) {
|
||||
job.confirm(&r).await;
|
||||
}
|
||||
}
|
||||
}
|
||||
ipc::FS::Rename { id, path, new_name } => {
|
||||
rename_file(path, new_name, id, tx).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user