better control of clipboard file transfer

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2022-02-24 00:26:19 +08:00
1 parent 8834251eec
commit 2f6b457b3f
7 files changed
+183 -16

No files matched your search

+2
View File
@@ -74,6 +74,7 @@ pub enum Data {
clipboard: bool,
audio: bool,
file: bool,
file_transfer_enabled: bool,
},
ChatMessage {
text: String,
@@ -105,6 +106,7 @@ pub enum Data {
},
SyncConfigToUserResp(bool),
ClipbaordFile(ClipbaordFile),
ClipboardFileEnabled(bool),
}
#[tokio::main(flavor = "current_thread")]