fix: sending file from local to remote
This commit is contained in:
parent
fef5070db6
commit
e2ac8d7a5b
@ -1607,8 +1607,7 @@ async fn start_ipc(
|
|||||||
file_num,
|
file_num,
|
||||||
data,
|
data,
|
||||||
compressed}) = data {
|
compressed}) = data {
|
||||||
stream.send(&Data::FS(ipc::FS::WriteBlock{id, file_num, data: Bytes::new(), compressed})).await?;
|
stream.send(&Data::FS(ipc::FS::WriteBlock{id, file_num, data, compressed})).await?;
|
||||||
stream.send_raw(data).await?;
|
|
||||||
} else {
|
} else {
|
||||||
stream.send(&data).await?;
|
stream.send(&data).await?;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user