fix(admin): fix force-leaving rooms with no left_state PDU

This commit is contained in:
Laurențiu Nicola
2026-01-06 00:59:31 +00:00
committed by Jade Ellis
parent 2f11bf4d74
commit a10bd71945
+2 -1
View File
@@ -178,7 +178,8 @@ pub async fn leave_room(
.rooms .rooms
.state_cache .state_cache
.left_state(user_id, room_id) .left_state(user_id, room_id)
.await? .await
.unwrap_or_default()
}, },
} }
}; };