summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-02-17 17:22:55 +0000
committerGitHub <noreply@github.com>2022-02-17 17:22:55 +0000
commit3f4d25a48ba17a1e2bcc6510f6cf6de7dd496a11 (patch)
tree558c324b9af53145104d1ce13688f81960b7136c /synapse/rest
parentAllow modules to set a display name on registration (#12009) (diff)
downloadsynapse-3f4d25a48ba17a1e2bcc6510f6cf6de7dd496a11.tar.xz
Remove unstable MSC3283 flags (#12018)
Fixes #11962
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/capabilities.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/synapse/rest/client/capabilities.py b/synapse/rest/client/capabilities.py
index 6682da077a..e05c926b6f 100644
--- a/synapse/rest/client/capabilities.py
+++ b/synapse/rest/client/capabilities.py
@@ -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}