fix: add version key to detect specific send/recv logic

This commit is contained in:
Kingtous
2022-08-01 09:50:23 +08:00
parent aabe08d657
commit 3458c164fb
7 changed files with 20 additions and 11 deletions

View File

@@ -160,8 +160,8 @@ impl ConnectionManager {
id,
file_num,
mut files,
overwrite_detection
} => {
let od = can_enable_overwrite_detection(get_version_number(VERSION));
// cm has no show_hidden context
// dummy remote, show_hidden, is_remote
write_jobs.push(fs::TransferJob::new_write(
@@ -179,7 +179,7 @@ impl ConnectionManager {
..Default::default()
})
.collect(),
od,
overwrite_detection,
));
}
ipc::FS::CancelWrite { id } => {