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

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