@@ -91,11 +91,6 @@ class RoomVersion:
91
91
# MSC2403: Allows join_rules to be set to 'knock', changes auth rules to allow sending
92
92
# m.room.membership event with membership 'knock'.
93
93
msc2403_knocking : bool
94
- # MSC2716: Adds m.room.power_levels -> content.historical field to control
95
- # whether "insertion", "chunk", "marker" events can be sent
96
- msc2716_historical : bool
97
- # MSC2716: Adds support for redacting "insertion", "chunk", and "marker" events
98
- msc2716_redactions : bool
99
94
# MSC3389: Protect relation information from redaction.
100
95
msc3389_relation_redactions : bool
101
96
# MSC3787: Adds support for a `knock_restricted` join rule, mixing concepts of
@@ -130,8 +125,6 @@ class RoomVersions:
130
125
msc3083_join_rules = False ,
131
126
msc3375_redaction_rules = False ,
132
127
msc2403_knocking = False ,
133
- msc2716_historical = False ,
134
- msc2716_redactions = False ,
135
128
msc3389_relation_redactions = False ,
136
129
msc3787_knock_restricted_join_rule = False ,
137
130
msc3667_int_only_power_levels = False ,
@@ -153,8 +146,6 @@ class RoomVersions:
153
146
msc3083_join_rules = False ,
154
147
msc3375_redaction_rules = False ,
155
148
msc2403_knocking = False ,
156
- msc2716_historical = False ,
157
- msc2716_redactions = False ,
158
149
msc3389_relation_redactions = False ,
159
150
msc3787_knock_restricted_join_rule = False ,
160
151
msc3667_int_only_power_levels = False ,
@@ -176,8 +167,6 @@ class RoomVersions:
176
167
msc3083_join_rules = False ,
177
168
msc3375_redaction_rules = False ,
178
169
msc2403_knocking = False ,
179
- msc2716_historical = False ,
180
- msc2716_redactions = False ,
181
170
msc3389_relation_redactions = False ,
182
171
msc3787_knock_restricted_join_rule = False ,
183
172
msc3667_int_only_power_levels = False ,
@@ -199,8 +188,6 @@ class RoomVersions:
199
188
msc3083_join_rules = False ,
200
189
msc3375_redaction_rules = False ,
201
190
msc2403_knocking = False ,
202
- msc2716_historical = False ,
203
- msc2716_redactions = False ,
204
191
msc3389_relation_redactions = False ,
205
192
msc3787_knock_restricted_join_rule = False ,
206
193
msc3667_int_only_power_levels = False ,
@@ -222,8 +209,6 @@ class RoomVersions:
222
209
msc3083_join_rules = False ,
223
210
msc3375_redaction_rules = False ,
224
211
msc2403_knocking = False ,
225
- msc2716_historical = False ,
226
- msc2716_redactions = False ,
227
212
msc3389_relation_redactions = False ,
228
213
msc3787_knock_restricted_join_rule = False ,
229
214
msc3667_int_only_power_levels = False ,
@@ -245,8 +230,6 @@ class RoomVersions:
245
230
msc3083_join_rules = False ,
246
231
msc3375_redaction_rules = False ,
247
232
msc2403_knocking = False ,
248
- msc2716_historical = False ,
249
- msc2716_redactions = False ,
250
233
msc3389_relation_redactions = False ,
251
234
msc3787_knock_restricted_join_rule = False ,
252
235
msc3667_int_only_power_levels = False ,
@@ -268,8 +251,6 @@ class RoomVersions:
268
251
msc3083_join_rules = False ,
269
252
msc3375_redaction_rules = False ,
270
253
msc2403_knocking = False ,
271
- msc2716_historical = False ,
272
- msc2716_redactions = False ,
273
254
msc3389_relation_redactions = False ,
274
255
msc3787_knock_restricted_join_rule = False ,
275
256
msc3667_int_only_power_levels = False ,
@@ -291,8 +272,6 @@ class RoomVersions:
291
272
msc3083_join_rules = False ,
292
273
msc3375_redaction_rules = False ,
293
274
msc2403_knocking = True ,
294
- msc2716_historical = False ,
295
- msc2716_redactions = False ,
296
275
msc3389_relation_redactions = False ,
297
276
msc3787_knock_restricted_join_rule = False ,
298
277
msc3667_int_only_power_levels = False ,
@@ -314,8 +293,6 @@ class RoomVersions:
314
293
msc3083_join_rules = True ,
315
294
msc3375_redaction_rules = False ,
316
295
msc2403_knocking = True ,
317
- msc2716_historical = False ,
318
- msc2716_redactions = False ,
319
296
msc3389_relation_redactions = False ,
320
297
msc3787_knock_restricted_join_rule = False ,
321
298
msc3667_int_only_power_levels = False ,
@@ -337,8 +314,6 @@ class RoomVersions:
337
314
msc3083_join_rules = True ,
338
315
msc3375_redaction_rules = True ,
339
316
msc2403_knocking = True ,
340
- msc2716_historical = False ,
341
- msc2716_redactions = False ,
342
317
msc3389_relation_redactions = False ,
343
318
msc3787_knock_restricted_join_rule = False ,
344
319
msc3667_int_only_power_levels = False ,
@@ -360,8 +335,6 @@ class RoomVersions:
360
335
msc3083_join_rules = True ,
361
336
msc3375_redaction_rules = True ,
362
337
msc2403_knocking = True ,
363
- msc2716_historical = False ,
364
- msc2716_redactions = False ,
365
338
msc3389_relation_redactions = False ,
366
339
msc3787_knock_restricted_join_rule = True ,
367
340
msc3667_int_only_power_levels = False ,
@@ -383,8 +356,6 @@ class RoomVersions:
383
356
msc3083_join_rules = True ,
384
357
msc3375_redaction_rules = True ,
385
358
msc2403_knocking = True ,
386
- msc2716_historical = False ,
387
- msc2716_redactions = False ,
388
359
msc3389_relation_redactions = False ,
389
360
msc3787_knock_restricted_join_rule = False ,
390
361
msc3667_int_only_power_levels = False ,
@@ -406,38 +377,13 @@ class RoomVersions:
406
377
msc3083_join_rules = True ,
407
378
msc3375_redaction_rules = True ,
408
379
msc2403_knocking = True ,
409
- msc2716_historical = False ,
410
- msc2716_redactions = False ,
411
380
msc3389_relation_redactions = False ,
412
381
msc3787_knock_restricted_join_rule = True ,
413
382
msc3667_int_only_power_levels = True ,
414
383
msc3821_redaction_rules = False ,
415
384
msc3931_push_features = (),
416
385
msc3989_redaction_rules = False ,
417
386
)
418
- MSC2716v4 = RoomVersion (
419
- "org.matrix.msc2716v4" ,
420
- RoomDisposition .UNSTABLE ,
421
- EventFormatVersions .ROOM_V4_PLUS ,
422
- StateResolutionVersions .V2 ,
423
- enforce_key_validity = True ,
424
- special_case_aliases_auth = False ,
425
- strict_canonicaljson = True ,
426
- limit_notifications_power_levels = True ,
427
- msc2175_implicit_room_creator = False ,
428
- msc2176_redaction_rules = False ,
429
- msc3083_join_rules = False ,
430
- msc3375_redaction_rules = False ,
431
- msc2403_knocking = True ,
432
- msc2716_historical = True ,
433
- msc2716_redactions = True ,
434
- msc3389_relation_redactions = False ,
435
- msc3787_knock_restricted_join_rule = False ,
436
- msc3667_int_only_power_levels = False ,
437
- msc3821_redaction_rules = False ,
438
- msc3931_push_features = (),
439
- msc3989_redaction_rules = False ,
440
- )
441
387
MSC1767v10 = RoomVersion (
442
388
# MSC1767 (Extensible Events) based on room version "10"
443
389
"org.matrix.msc1767.10" ,
@@ -453,8 +399,6 @@ class RoomVersions:
453
399
msc3083_join_rules = True ,
454
400
msc3375_redaction_rules = True ,
455
401
msc2403_knocking = True ,
456
- msc2716_historical = False ,
457
- msc2716_redactions = False ,
458
402
msc3389_relation_redactions = False ,
459
403
msc3787_knock_restricted_join_rule = True ,
460
404
msc3667_int_only_power_levels = True ,
@@ -476,8 +420,6 @@ class RoomVersions:
476
420
msc3083_join_rules = True ,
477
421
msc3375_redaction_rules = True ,
478
422
msc2403_knocking = True ,
479
- msc2716_historical = False ,
480
- msc2716_redactions = False ,
481
423
msc3389_relation_redactions = False ,
482
424
msc3787_knock_restricted_join_rule = True ,
483
425
msc3667_int_only_power_levels = True ,
@@ -500,8 +442,6 @@ class RoomVersions:
500
442
msc3083_join_rules = True ,
501
443
msc3375_redaction_rules = True ,
502
444
msc2403_knocking = True ,
503
- msc2716_historical = False ,
504
- msc2716_redactions = False ,
505
445
msc3389_relation_redactions = False ,
506
446
msc3787_knock_restricted_join_rule = True ,
507
447
msc3667_int_only_power_levels = True ,
@@ -526,7 +466,6 @@ class RoomVersions:
526
466
RoomVersions .V9 ,
527
467
RoomVersions .MSC3787 ,
528
468
RoomVersions .V10 ,
529
- RoomVersions .MSC2716v4 ,
530
469
RoomVersions .MSC3989 ,
531
470
RoomVersions .MSC3820opt2 ,
532
471
)
0 commit comments