From 14df55e5c5728905fb2d990ee7d866a076fb25a3 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Thu, 11 Sep 2025 17:23:45 +0100 Subject: [PATCH] style(1014): Remove unnecessary commented code --- src/api/client/account.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/api/client/account.rs b/src/api/client/account.rs index 3c9cc035..dde3af66 100644 --- a/src/api/client/account.rs +++ b/src/api/client/account.rs @@ -405,21 +405,6 @@ pub(crate) async fn register_route( ) .await?; - // if (!is_guest && body.inhibit_login) - // || body - // .appservice_info - // .as_ref() - // .is_some_and(|appservice| appservice.registration.device_management) - // { - // return Ok(register::v3::Response { - // access_token: None, - // user_id, - // device_id: None, - // refresh_token: None, - // expires_in: None, - // }); - // } - // Generate new device id if the user didn't specify one let no_device = body.inhibit_login || body