opt: name, imports

This commit is contained in:
Kingtous
2022-04-29 16:47:45 +08:00
parent 265e3c760e
commit 02f214e39a
6 changed files with 11 additions and 24 deletions

View File

@@ -955,7 +955,6 @@ impl Connection {
}
}
Some(message::Union::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)) => {
@@ -1051,7 +1050,7 @@ impl Connection {
id: d.id,
file_num: d.file_num,
file_size: d.file_size,
modified_time: d.last_edit_timestamp,
last_modified: d.last_modified,
is_upload: true,
}),
_ => {}