mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-29 16:49:10 +08:00
Merge pull request #2037 from djex/master
fix: sending file from local to remote
This commit is contained in:
commit
c6082e0a25
@ -1609,8 +1609,7 @@ async fn start_ipc(
|
||||
file_num,
|
||||
data,
|
||||
compressed}) = data {
|
||||
stream.send(&Data::FS(ipc::FS::WriteBlock{id, file_num, data: Bytes::new(), compressed})).await?;
|
||||
stream.send_raw(data).await?;
|
||||
stream.send(&Data::FS(ipc::FS::WriteBlock{id, file_num, data, compressed})).await?;
|
||||
} else {
|
||||
stream.send(&data).await?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user