Skip to content

Commit

Permalink
allow /r in command line
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Nov 9, 2023
1 parent 6ea0dbc commit 45dbea5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,12 @@ impl LoginConfigHandler {
}
self.other_server = Some((real_id.clone(), server.to_owned(), key.to_owned()));
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;
Expand Down

0 comments on commit 45dbea5

Please sign in to comment.