summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorHugh Nimmo-Smith <hughns@element.io>2023-05-25 13:43:22 +0100
committerHugh Nimmo-Smith <hughns@element.io>2023-05-25 15:48:41 +0100
commit7ed89832f0b4461f83ef8db03c98baf20a75abb6 (patch)
treeaae2fc41754d9576fc234ca806ba6e95dcaa3a4a /synapse
parentLint (diff)
downloadsynapse-github/hughns/remove-unstable-msc3882.tar.xz
Diffstat (limited to '')
-rw-r--r--synapse/rest/client/login_token_request.py6
-rw-r--r--synapse/rest/client/versions.py2
2 files changed, 0 insertions, 8 deletions
diff --git a/synapse/rest/client/login_token_request.py b/synapse/rest/client/login_token_request.py
index 282d2d308f..518e1bb9fc 100644
--- a/synapse/rest/client/login_token_request.py
+++ b/synapse/rest/client/login_token_request.py
@@ -52,10 +52,6 @@ class LoginTokenRequestServlet(RestServlet):
         *client_patterns(
             "/login/get_token$", releases=["v1"], v1=False, unstable=False
         ),
-        # TODO: this is no longer needed once unstable MSC3882 does not need to be supported:
-        *client_patterns(
-            "/org.matrix.msc3882/login/token$", releases=[], v1=False, unstable=True
-        ),
     ]
 
     def __init__(self, hs: "HomeServer"):
@@ -101,8 +97,6 @@ class LoginTokenRequestServlet(RestServlet):
             200,
             {
                 "login_token": login_token,
-                # TODO: this is no longer needed once unstable MSC3882 does not need to be supported:
-                "expires_in": self.token_timeout // 1000,
                 "expires_in_ms": self.token_timeout,
             },
         )
diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py
index 547bf34df1..1eb11081a0 100644
--- a/synapse/rest/client/versions.py
+++ b/synapse/rest/client/versions.py
@@ -113,8 +113,6 @@ class VersionsRestServlet(RestServlet):
                     "fi.mau.msc2815": self.config.experimental.msc2815_enabled,
                     # Adds a ping endpoint for appservices to check HS->AS connection
                     "fi.mau.msc2659.stable": True,  # TODO: remove when "v1.7" is added above
-                    # TODO: this is no longer needed once unstable MSC3882 does not need to be supported:
-                    "org.matrix.msc3882": self.config.auth.login_via_existing_enabled,
                     # Adds support for remotely enabling/disabling pushers, as per MSC3881
                     "org.matrix.msc3881": self.config.experimental.msc3881_enabled,
                     # Adds support for filtering /messages by event relation.