OPTION_ONE_WAY_CLIPBOARD_REDIRECTION,

OPTION_ENABLE_CLIPBOARD_INIT_SYNC,
        OPTION_ALLOW_LOGON_SCREEN_PASSWORD,
        OPTION_ONE_WAY_FILE_TRANSFER,
This commit is contained in:
rustdesk
2024-09-18 12:18:26 +08:00
parent 49ce4edb8a
commit cc288272d3
7 changed files with 70 additions and 23 deletions

View File

@@ -565,7 +565,7 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
log::debug!(
"Process clipboard message from clip, stop: {}, is_stopping_allowed: {}, is_clipboard_enabled: {}, file_transfer_enabled: {}, file_transfer_enabled_peer: {}",
stop, is_stopping_allowed, is_clipboard_enabled, file_transfer_enabled, file_transfer_enabled_peer);
if stop {
if stop || crate::get_builtin_option(OPTION_ONE_WAY_FILE_TRANSFER) == "Y"{
ContextSend::set_is_stopped();
} else {
allow_err!(self.tx.send(Data::ClipboardFile(_clip)));