Explicitly match RoomVersionId::V11
This commit is contained in:
parent
f3045be622
commit
33cae7eaab
3 changed files with 10 additions and 5 deletions
|
@ -1399,7 +1399,8 @@ impl Service {
|
|||
| RoomVersionId::V8
|
||||
| RoomVersionId::V9
|
||||
| RoomVersionId::V10 => RoomCreateEventContent::new_v1(conduit_user.clone()),
|
||||
_ => RoomCreateEventContent::new_v11(),
|
||||
RoomVersionId::V11 => RoomCreateEventContent::new_v11(),
|
||||
_ => panic!("Unexpected room version {}", room_version),
|
||||
};
|
||||
|
||||
content.federate = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue