refactor: Fix errors in api/client/directory.rs

This commit is contained in:
Ginger
2026-04-10 14:18:35 -04:00
parent 36285e7784
commit 267e1c5d65
2 changed files with 34 additions and 37 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ impl Service {
}
/// Prepare a summary of a room known to this server.
async fn build_local_room_summary(&self, room_id: &RoomId) -> Option<RoomSummary> {
pub async fn build_local_room_summary(&self, room_id: &RoomId) -> Option<RoomSummary> {
// If we can't find a version for this room, it doesn't exist.
let room_version = self.services.state.get_room_version(room_id).await.ok()?;