mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-16 09:21:01 +03:00
refactor: unify client ID resolution
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -2671,9 +2671,6 @@ impl LoginConfigHandler {
|
||||
os_password: String,
|
||||
password: Vec<u8>,
|
||||
) -> Message {
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
let my_id = Config::get_id_or(crate::DEVICE_ID.lock().unwrap().clone());
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
let my_id = Config::get_id();
|
||||
let (my_id, pure_id) = if let Some((id, _, _)) = self.other_server.as_ref() {
|
||||
let server = Config::get_rendezvous_server();
|
||||
|
||||
Reference in New Issue
Block a user