patch: add has_file_clipboard field to PeerInfo

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
This commit is contained in:
ClSlaid committed 2023-10-29 20:49:43 +08:00
1 parent 79f6b5c181
commit 80200a9983
7 files changed
+33 -5

No files matched your search

+4 -1
View File
@@ -577,7 +577,10 @@ pub async fn start_ipc<T: InvokeUiCM>(cm: ConnectionManager<T>) {
#[cfg(any(
target_os = "windows",
all(target_os = "linux", feature = "unix-file-copy-paste"),
all(
any(target_os = "linux", target_os = "macos"),
feature = "unix-file-copy-paste"
),
))]
ContextSend::enable(Config::get_option("enable-file-transfer").is_empty());