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

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2024-05-19 20:41:19 +08:00 committed by GitHub
parent d8c9250aab
commit 6e5622a97a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
);