Exclude the server user from admin users force-join-all-local-users, fixes #373

This commit is contained in:
dasha_uwu
2026-03-14 23:29:41 +05:00
parent 7e21b9d730
commit 6a3588ed0b

View File

@@ -464,6 +464,10 @@ pub(super) async fn force_join_all_local_users(
.collect::<Vec<_>>() .collect::<Vec<_>>()
.await .await
{ {
if user_id == &self.services.globals.server_user {
continue;
}
match self match self
.services .services
.membership .membership