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 +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-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 @@ -219,6 +219,20 @@ class RoomVersions:
219219 msc2403_knocking = True ,
220220 msc2716_historical = True ,
221221 )
222+ V8 = RoomVersion (
223+ "8" ,
224+ RoomDisposition .STABLE ,
225+ EventFormatVersions .V3 ,
226+ StateResolutionVersions .V2 ,
227+ enforce_key_validity = True ,
228+ special_case_aliases_auth = False ,
229+ strict_canonicaljson = True ,
230+ limit_notifications_power_levels = True ,
231+ msc2176_redaction_rules = False ,
232+ msc3083_join_rules = True ,
233+ msc2403_knocking = True ,
234+ msc2716_historical = False ,
235+ )
222236
223237
224238KNOWN_ROOM_VERSIONS : Dict [str , RoomVersion ] = {
@@ -234,6 +248,7 @@ class RoomVersions:
234248 RoomVersions .MSC3083 ,
235249 RoomVersions .V7 ,
236250 RoomVersions .MSC2716 ,
251+ RoomVersions .V8 ,
237252 )
238253}
239254
@@ -261,12 +276,12 @@ class RoomVersionCapability:
261276 for cap in (
262277 RoomVersionCapability (
263278 "knock" ,
264- RoomVersions .V7 ,
279+ RoomVersions .V8 ,
265280 lambda room_version : room_version .msc2403_knocking ,
266281 ),
267282 RoomVersionCapability (
268283 "restricted" ,
269- None ,
284+ RoomVersions . V8 ,
270285 lambda room_version : room_version .msc3083_join_rules ,
271286 ),
272287 )
You can’t perform that action at this time.
0 commit comments