From c64a4a71bce7dc6e0a1999abec6f0b851618a82c Mon Sep 17 00:00:00 2001 From: Ginger Date: Mon, 13 Apr 2026 16:53:00 -0400 Subject: [PATCH] refactor: Resolve errors in `admin/federation/commands.rs` --- src/admin/federation/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;