This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 2 files changed +17
-2
lines changed
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:
193
193
msc3083_join_rules = False ,
194
194
msc2403_knocking = True ,
195
195
)
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
+ )
196
209
197
210
198
211
KNOWN_ROOM_VERSIONS : Dict [str , RoomVersion ] = {
@@ -207,6 +220,7 @@ class RoomVersions:
207
220
RoomVersions .MSC2176 ,
208
221
RoomVersions .MSC3083 ,
209
222
RoomVersions .V7 ,
223
+ RoomVersions .V8 ,
210
224
)
211
225
}
212
226
@@ -234,12 +248,12 @@ class RoomVersionCapability:
234
248
for cap in (
235
249
RoomVersionCapability (
236
250
"knock" ,
237
- RoomVersions .V7 ,
251
+ RoomVersions .V8 ,
238
252
lambda room_version : room_version .msc2403_knocking ,
239
253
),
240
254
RoomVersionCapability (
241
255
"restricted" ,
242
- None ,
256
+ RoomVersions . V8 ,
243
257
lambda room_version : room_version .msc3083_join_rules ,
244
258
),
245
259
)
You can’t perform that action at this time.
0 commit comments