Merge pull request #786 from Heap-Hop/master

Update mobile file transfer tip
This commit is contained in:
RustDesk 2022-06-15 21:35:51 +08:00 committed by GitHub
commit 2a5b539380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,7 +436,12 @@ impl Interface for Session {
let mut displays = Vec::new();
let mut current = pi.current_display as usize;
if !lc.is_file_transfer {
if lc.is_file_transfer {
if pi.username.is_empty() {
self.msgbox("error", "Error", "No active console user logged on, please connect and logon first.");
return;
}
} else {
if pi.displays.is_empty() {
self.msgbox("error", "Remote Error", "No Display");
}