Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix: user option, enable file copy paste (#8096)

fufesou6e5622a97abe
diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs
index aa9ad2f0c..dc15d4766 100644
--- a/libs/hbb_common/src/config.rs
+++ b/libs/hbb_common/src/config.rs
@@ -1323,11 +1323,9 @@ serde_field_bool!(
default_disable_audio,
"DisableAudio::default_disable_audio"
);
-// The key is enable_file_transfer, but no need to keep the old name.
-// This option should always be true.
serde_field_bool!(
EnableFileCopyPaste,
- "enable_file_copy_paste",
+ "enable-file-copy-paste",
default_enable_file_copy_paste,
"EnableFileCopyPaste::default_enable_file_copy_paste"
);