allow /r in command line

This commit is contained in:
rustdesk 2023-11-09 21:58:03 +08:00
parent 6ea0dbc70f
commit 45dbea57f1

View File

@ -1166,6 +1166,12 @@ impl LoginConfigHandler {
} }
self.other_server = Some((real_id.clone(), server.to_owned(), key.to_owned())); self.other_server = Some((real_id.clone(), server.to_owned(), key.to_owned()));
id = format!("{real_id}@{server}"); id = format!("{real_id}@{server}");
} else {
let real_id = crate::ui_interface::handle_relay_id(&id);
if real_id != id {
force_relay = true;
id = real_id.to_owned();
}
} }
self.id = id; self.id = id;