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 @@ -219,6 +219,19 @@ 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+ )
222235
223236
224237KNOWN_ROOM_VERSIONS : Dict [str , RoomVersion ] = {
@@ -234,6 +247,7 @@ class RoomVersions:
234247 RoomVersions .MSC3083 ,
235248 RoomVersions .V7 ,
236249 RoomVersions .MSC2716 ,
250+ RoomVersions .V8 ,
237251 )
238252}
239253
@@ -261,12 +275,12 @@ class RoomVersionCapability:
261275 for cap in (
262276 RoomVersionCapability (
263277 "knock" ,
264- RoomVersions .V7 ,
278+ RoomVersions .V8 ,
265279 lambda room_version : room_version .msc2403_knocking ,
266280 ),
267281 RoomVersionCapability (
268282 "restricted" ,
269- None ,
283+ RoomVersions . V8 ,
270284 lambda room_version : room_version .msc3083_join_rules ,
271285 ),
272286 )
You can’t perform that action at this time.
0 commit comments