From 6a3588ed0b52490cc9aa02933ce84aaceabee5e3 Mon Sep 17 00:00:00 2001 From: dasha_uwu Date: Sat, 14 Mar 2026 23:29:41 +0500 Subject: [PATCH] Exclude the server user from `admin users force-join-all-local-users`, fixes #373 --- src/admin/user/commands.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/admin/user/commands.rs b/src/admin/user/commands.rs index f18453a6..c1cb397f 100644 --- a/src/admin/user/commands.rs +++ b/src/admin/user/commands.rs @@ -464,6 +464,10 @@ pub(super) async fn force_join_all_local_users( .collect::>() .await { + if user_id == &self.services.globals.server_user { + continue; + } + match self .services .membership