Revert "Feat: file transfer, resume (#12557)" (#12620)

This reverts commit 43ec57c769.
This commit is contained in:
RustDesk
2025-08-11 23:25:41 +08:00
committed by GitHub
parent 1fb0123ed7
commit 53efaf125c
4 changed files with 21 additions and 61 deletions

View File

@@ -2703,11 +2703,7 @@ impl Connection {
}
Some(file_action::Union::SendConfirm(r)) => {
if let Some(job) = fs::get_job(r.id, &mut self.read_jobs) {
job.confirm(&r).await;
} else {
if let Ok(sc) = r.write_to_bytes() {
self.send_fs(ipc::FS::SendConfirm(sc));
}
job.confirm(&r);
}
}
Some(file_action::Union::Rename(r)) => {