Exclude the server user from admin users force-join-all-local-users, fixes #373
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user