@@ -91,11 +91,6 @@ class RoomVersion:
9191    # MSC2403: Allows join_rules to be set to 'knock', changes auth rules to allow sending 
9292    # m.room.membership event with membership 'knock'. 
9393    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 
9994    # MSC3389: Protect relation information from redaction. 
10095    msc3389_relation_redactions : bool 
10196    # MSC3787: Adds support for a `knock_restricted` join rule, mixing concepts of 
@@ -130,8 +125,6 @@ class RoomVersions:
130125        msc3083_join_rules = False ,
131126        msc3375_redaction_rules = False ,
132127        msc2403_knocking = False ,
133-         msc2716_historical = False ,
134-         msc2716_redactions = False ,
135128        msc3389_relation_redactions = False ,
136129        msc3787_knock_restricted_join_rule = False ,
137130        msc3667_int_only_power_levels = False ,
@@ -153,8 +146,6 @@ class RoomVersions:
153146        msc3083_join_rules = False ,
154147        msc3375_redaction_rules = False ,
155148        msc2403_knocking = False ,
156-         msc2716_historical = False ,
157-         msc2716_redactions = False ,
158149        msc3389_relation_redactions = False ,
159150        msc3787_knock_restricted_join_rule = False ,
160151        msc3667_int_only_power_levels = False ,
@@ -176,8 +167,6 @@ class RoomVersions:
176167        msc3083_join_rules = False ,
177168        msc3375_redaction_rules = False ,
178169        msc2403_knocking = False ,
179-         msc2716_historical = False ,
180-         msc2716_redactions = False ,
181170        msc3389_relation_redactions = False ,
182171        msc3787_knock_restricted_join_rule = False ,
183172        msc3667_int_only_power_levels = False ,
@@ -199,8 +188,6 @@ class RoomVersions:
199188        msc3083_join_rules = False ,
200189        msc3375_redaction_rules = False ,
201190        msc2403_knocking = False ,
202-         msc2716_historical = False ,
203-         msc2716_redactions = False ,
204191        msc3389_relation_redactions = False ,
205192        msc3787_knock_restricted_join_rule = False ,
206193        msc3667_int_only_power_levels = False ,
@@ -222,8 +209,6 @@ class RoomVersions:
222209        msc3083_join_rules = False ,
223210        msc3375_redaction_rules = False ,
224211        msc2403_knocking = False ,
225-         msc2716_historical = False ,
226-         msc2716_redactions = False ,
227212        msc3389_relation_redactions = False ,
228213        msc3787_knock_restricted_join_rule = False ,
229214        msc3667_int_only_power_levels = False ,
@@ -245,8 +230,6 @@ class RoomVersions:
245230        msc3083_join_rules = False ,
246231        msc3375_redaction_rules = False ,
247232        msc2403_knocking = False ,
248-         msc2716_historical = False ,
249-         msc2716_redactions = False ,
250233        msc3389_relation_redactions = False ,
251234        msc3787_knock_restricted_join_rule = False ,
252235        msc3667_int_only_power_levels = False ,
@@ -268,8 +251,6 @@ class RoomVersions:
268251        msc3083_join_rules = False ,
269252        msc3375_redaction_rules = False ,
270253        msc2403_knocking = False ,
271-         msc2716_historical = False ,
272-         msc2716_redactions = False ,
273254        msc3389_relation_redactions = False ,
274255        msc3787_knock_restricted_join_rule = False ,
275256        msc3667_int_only_power_levels = False ,
@@ -291,8 +272,6 @@ class RoomVersions:
291272        msc3083_join_rules = False ,
292273        msc3375_redaction_rules = False ,
293274        msc2403_knocking = True ,
294-         msc2716_historical = False ,
295-         msc2716_redactions = False ,
296275        msc3389_relation_redactions = False ,
297276        msc3787_knock_restricted_join_rule = False ,
298277        msc3667_int_only_power_levels = False ,
@@ -314,8 +293,6 @@ class RoomVersions:
314293        msc3083_join_rules = True ,
315294        msc3375_redaction_rules = False ,
316295        msc2403_knocking = True ,
317-         msc2716_historical = False ,
318-         msc2716_redactions = False ,
319296        msc3389_relation_redactions = False ,
320297        msc3787_knock_restricted_join_rule = False ,
321298        msc3667_int_only_power_levels = False ,
@@ -337,8 +314,6 @@ class RoomVersions:
337314        msc3083_join_rules = True ,
338315        msc3375_redaction_rules = True ,
339316        msc2403_knocking = True ,
340-         msc2716_historical = False ,
341-         msc2716_redactions = False ,
342317        msc3389_relation_redactions = False ,
343318        msc3787_knock_restricted_join_rule = False ,
344319        msc3667_int_only_power_levels = False ,
@@ -360,8 +335,6 @@ class RoomVersions:
360335        msc3083_join_rules = True ,
361336        msc3375_redaction_rules = True ,
362337        msc2403_knocking = True ,
363-         msc2716_historical = False ,
364-         msc2716_redactions = False ,
365338        msc3389_relation_redactions = False ,
366339        msc3787_knock_restricted_join_rule = True ,
367340        msc3667_int_only_power_levels = False ,
@@ -383,8 +356,6 @@ class RoomVersions:
383356        msc3083_join_rules = True ,
384357        msc3375_redaction_rules = True ,
385358        msc2403_knocking = True ,
386-         msc2716_historical = False ,
387-         msc2716_redactions = False ,
388359        msc3389_relation_redactions = False ,
389360        msc3787_knock_restricted_join_rule = False ,
390361        msc3667_int_only_power_levels = False ,
@@ -406,38 +377,13 @@ class RoomVersions:
406377        msc3083_join_rules = True ,
407378        msc3375_redaction_rules = True ,
408379        msc2403_knocking = True ,
409-         msc2716_historical = False ,
410-         msc2716_redactions = False ,
411380        msc3389_relation_redactions = False ,
412381        msc3787_knock_restricted_join_rule = True ,
413382        msc3667_int_only_power_levels = True ,
414383        msc3821_redaction_rules = False ,
415384        msc3931_push_features = (),
416385        msc3989_redaction_rules = False ,
417386    )
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-     )
441387    MSC1767v10  =  RoomVersion (
442388        # MSC1767 (Extensible Events) based on room version "10" 
443389        "org.matrix.msc1767.10" ,
@@ -453,8 +399,6 @@ class RoomVersions:
453399        msc3083_join_rules = True ,
454400        msc3375_redaction_rules = True ,
455401        msc2403_knocking = True ,
456-         msc2716_historical = False ,
457-         msc2716_redactions = False ,
458402        msc3389_relation_redactions = False ,
459403        msc3787_knock_restricted_join_rule = True ,
460404        msc3667_int_only_power_levels = True ,
@@ -476,8 +420,6 @@ class RoomVersions:
476420        msc3083_join_rules = True ,
477421        msc3375_redaction_rules = True ,
478422        msc2403_knocking = True ,
479-         msc2716_historical = False ,
480-         msc2716_redactions = False ,
481423        msc3389_relation_redactions = False ,
482424        msc3787_knock_restricted_join_rule = True ,
483425        msc3667_int_only_power_levels = True ,
@@ -500,8 +442,6 @@ class RoomVersions:
500442        msc3083_join_rules = True ,
501443        msc3375_redaction_rules = True ,
502444        msc2403_knocking = True ,
503-         msc2716_historical = False ,
504-         msc2716_redactions = False ,
505445        msc3389_relation_redactions = False ,
506446        msc3787_knock_restricted_join_rule = True ,
507447        msc3667_int_only_power_levels = True ,
@@ -526,7 +466,6 @@ class RoomVersions:
526466        RoomVersions .V9 ,
527467        RoomVersions .MSC3787 ,
528468        RoomVersions .V10 ,
529-         RoomVersions .MSC2716v4 ,
530469        RoomVersions .MSC3989 ,
531470        RoomVersions .MSC3820opt2 ,
532471    )
0 commit comments