Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
3f4d25a4
Unverified
Commit
3f4d25a4
authored
3 years ago
by
Erik Johnston
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unstable MSC3283 flags (#12018)
Fixes #11962
parent
707049c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changelog.d/12018.removal
+1
-0
1 addition, 0 deletions
changelog.d/12018.removal
synapse/config/experimental.py
+0
-3
0 additions, 3 deletions
synapse/config/experimental.py
synapse/rest/client/capabilities.py
+0
-14
0 additions, 14 deletions
synapse/rest/client/capabilities.py
with
1 addition
and
17 deletions
changelog.d/12018.removal
0 → 100644
+
1
−
0
View file @
3f4d25a4
Drop support for [MSC3283](https://github.com/matrix-org/matrix-doc/pull/3283) unstable flags now that the stable flags are supported.
This diff is collapsed.
Click to expand it.
synapse/config/experimental.py
+
0
−
3
View file @
3f4d25a4
...
...
@@ -41,9 +41,6 @@ class ExperimentalConfig(Config):
# MSC3244 (room version capabilities)
self
.
msc3244_enabled
:
bool
=
experimental
.
get
(
"
msc3244_enabled
"
,
True
)
# MSC3283 (set displayname, avatar_url and change 3pid capabilities)
self
.
msc3283_enabled
:
bool
=
experimental
.
get
(
"
msc3283_enabled
"
,
False
)
# MSC3266 (room summary api)
self
.
msc3266_enabled
:
bool
=
experimental
.
get
(
"
msc3266_enabled
"
,
False
)
...
...
This diff is collapsed.
Click to expand it.
synapse/rest/client/capabilities.py
+
0
−
14
View file @
3f4d25a4
...
...
@@ -72,20 +72,6 @@ class CapabilitiesRestServlet(RestServlet):
"
org.matrix.msc3244.room_capabilities
"
]
=
MSC3244_CAPABILITIES
# Must be removed in later versions.
# Is only included for migration.
# Also the parts in `synapse/config/experimental.py`.
if
self
.
config
.
experimental
.
msc3283_enabled
:
response
[
"
capabilities
"
][
"
org.matrix.msc3283.set_displayname
"
]
=
{
"
enabled
"
:
self
.
config
.
registration
.
enable_set_displayname
}
response
[
"
capabilities
"
][
"
org.matrix.msc3283.set_avatar_url
"
]
=
{
"
enabled
"
:
self
.
config
.
registration
.
enable_set_avatar_url
}
response
[
"
capabilities
"
][
"
org.matrix.msc3283.3pid_changes
"
]
=
{
"
enabled
"
:
self
.
config
.
registration
.
enable_3pid_changes
}
if
self
.
config
.
experimental
.
msc3440_enabled
:
response
[
"
capabilities
"
][
"
io.element.thread
"
]
=
{
"
enabled
"
:
True
}
...
...
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