state-res: Properly declare room version 7 stable

This commit is contained in:
Jonas Platte 2022-04-06 11:01:58 +02:00
parent 1e1fa06342
commit 77a95e5ac9
No known key found for this signature in database
GPG Key ID: BBA95679259D342F

View File

@ -98,12 +98,7 @@ impl RoomVersion {
..Self::V5
};
pub const V7: Self = Self {
// FIXME: once room version 7 is stabilized move this to version 8
disposition: RoomDisposition::Unstable,
allow_knocking: true,
..Self::V6
};
pub const V7: Self = Self { allow_knocking: true, ..Self::V6 };
pub const V8: Self = Self { restricted_join_rules: true, ..Self::V7 };