fix: Don't unhelpfully panic when encountering an unrecognised room version

This commit is contained in:
timedout authored and Ellis Git committed 2026-07-12 02:11:50 +00:00
1 parent e1eea45fd6
commit b6e5a106ff
1 file changed
+1 -1
@@ -109,7 +109,7 @@ impl super::Service {
.await
.unwrap_or(RoomVersionId::V1)
.rules()
.unwrap(),
.expect("room version must be supported"),
};
let (event_id, value) =