Skip to content

Commit

Permalink
fix: user option, enable file copy paste (#8096)
Browse files Browse the repository at this point in the history
Signed-off-by: fufesou <shuanglongchen@yeah.net>
  • Loading branch information
fufesou committed May 19, 2024
1 parent d8c9250 commit 6e5622a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/hbb_common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down

0 comments on commit 6e5622a

Please sign in to comment.