mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 01:18:21 +00:00
Merge pull request #2037 from djex/master
fix: sending file from local to remote
This commit is contained in:
commit
c6082e0a25
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue