diff --git a/src/admin/federation/commands.rs b/src/admin/federation/commands.rs index 6668e917a..9f6e91270 100644 --- a/src/admin/federation/commands.rs +++ b/src/admin/federation/commands.rs @@ -111,7 +111,7 @@ pub(super) async fn remote_user_in_rooms(&self, user_id: OwnedUserId) -> Result .rooms .state_cache .rooms_joined(&user_id) - .then(|room_id| get_room_info(self.services, room_id)) + .then(async |room_id| get_room_info(self.services, &room_id).await) .collect() .await;