This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ Support [MSC3289: room version 8](https://github.com/matrix-org/matrix-doc/pull/3289).
Original file line number Diff line number Diff line change @@ -193,6 +193,19 @@ class RoomVersions:
193193 msc3083_join_rules = False ,
194194 msc2403_knocking = True ,
195195 )
196+ V8 = RoomVersion (
197+ "8" ,
198+ RoomDisposition .STABLE ,
199+ EventFormatVersions .V3 ,
200+ StateResolutionVersions .V2 ,
201+ enforce_key_validity = True ,
202+ special_case_aliases_auth = False ,
203+ strict_canonicaljson = True ,
204+ limit_notifications_power_levels = True ,
205+ msc2176_redaction_rules = False ,
206+ msc3083_join_rules = True ,
207+ msc2403_knocking = True ,
208+ )
196209
197210
198211KNOWN_ROOM_VERSIONS : Dict [str , RoomVersion ] = {
@@ -207,6 +220,7 @@ class RoomVersions:
207220 RoomVersions .MSC2176 ,
208221 RoomVersions .MSC3083 ,
209222 RoomVersions .V7 ,
223+ RoomVersions .V8 ,
210224 )
211225}
212226
@@ -234,12 +248,12 @@ class RoomVersionCapability:
234248 for cap in (
235249 RoomVersionCapability (
236250 "knock" ,
237- RoomVersions .V7 ,
251+ RoomVersions .V8 ,
238252 lambda room_version : room_version .msc2403_knocking ,
239253 ),
240254 RoomVersionCapability (
241255 "restricted" ,
242- None ,
256+ RoomVersions . V8 ,
243257 lambda room_version : room_version .msc3083_join_rules ,
244258 ),
245259 )
You can’t perform that action at this time.
0 commit comments