From b2a041b2bff1c7f579c0cbf591a762c792a43b7e Mon Sep 17 00:00:00 2001 From: 21pages Date: Mon, 27 Jul 2026 21:04:44 +0800 Subject: [PATCH] refactor: unify client ID resolution Signed-off-by: 21pages --- src/client.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client.rs b/src/client.rs index 5cafeadaf..f711c227c 100644 --- a/src/client.rs +++ b/src/client.rs @@ -2671,9 +2671,6 @@ impl LoginConfigHandler { os_password: String, password: Vec, ) -> 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();