mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
add: server override
This commit is contained in:
@@ -955,7 +955,7 @@ impl Connection {
|
||||
}
|
||||
}
|
||||
Some(message::Union::file_action(fa)) => {
|
||||
println!("recv file_action, {:?}", fa);
|
||||
log::info!("recv file_action, {:?}", fa);
|
||||
if self.file_transfer.is_some() {
|
||||
match fa.union {
|
||||
Some(file_action::Union::read_dir(rd)) => {
|
||||
@@ -988,7 +988,6 @@ impl Connection {
|
||||
}
|
||||
}
|
||||
Some(file_action::Union::receive(r)) => {
|
||||
println!("[connection.rs:891] recv FileTransferReceiveRequest");
|
||||
self.send_fs(ipc::FS::NewWrite {
|
||||
path: r.path,
|
||||
id: r.id,
|
||||
@@ -1025,7 +1024,6 @@ impl Connection {
|
||||
fs::remove_job(c.id, &mut self.read_jobs);
|
||||
}
|
||||
Some(file_action::Union::send_confirm(r)) => {
|
||||
println!("recv send confirm request");
|
||||
if let Some(job) = fs::get_job(r.id, &mut self.read_jobs) {
|
||||
job.confirm(&r);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user