Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
4e013093
Unverified
Commit
4e013093
authored
1 year ago
by
Travis Ralston
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Add MSC3820 (room version 11) option 2 unstable room version. (#15666)
parent
77156a4b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/15666.misc
+1
-0
1 addition, 0 deletions
changelog.d/15666.misc
synapse/api/room_versions.py
+24
-0
24 additions, 0 deletions
synapse/api/room_versions.py
with
25 additions
and
0 deletions
changelog.d/15666.misc
0 → 100644
+
1
−
0
View file @
4e013093
Implement "option 2" for [MSC3820](https://github.com/matrix-org/matrix-spec-proposals/pull/3820): Room version 11.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
synapse/api/room_versions.py
+
24
−
0
View file @
4e013093
...
...
@@ -485,6 +485,30 @@ class RoomVersions:
msc3931_push_features
=
(),
msc3989_redaction_rules
=
True
,
)
MSC3820opt2
=
RoomVersion
(
# Based upon v10
"
org.matrix.msc3820.opt2
"
,
RoomDisposition
.
UNSTABLE
,
EventFormatVersions
.
ROOM_V4_PLUS
,
StateResolutionVersions
.
V2
,
enforce_key_validity
=
True
,
special_case_aliases_auth
=
False
,
strict_canonicaljson
=
True
,
limit_notifications_power_levels
=
True
,
msc2175_implicit_room_creator
=
True
,
# Used by MSC3820
msc2176_redaction_rules
=
True
,
# Used by MSC3820
msc3083_join_rules
=
True
,
msc3375_redaction_rules
=
True
,
msc2403_knocking
=
True
,
msc2716_historical
=
False
,
msc2716_redactions
=
False
,
msc3389_relation_redactions
=
False
,
msc3787_knock_restricted_join_rule
=
True
,
msc3667_int_only_power_levels
=
True
,
msc3821_redaction_rules
=
True
,
# Used by MSC3820
msc3931_push_features
=
(),
msc3989_redaction_rules
=
True
,
# Used by MSC3820
)
KNOWN_ROOM_VERSIONS
:
Dict
[
str
,
RoomVersion
]
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment