summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-06-15 16:46:23 +0100
committerGitHub <noreply@github.com>2020-06-15 16:46:23 +0100
commit356243f08a458b4471cce8a98eb969a95c6e0e1b (patch)
tree5eeb304ac63701356df2bd9eeb3559c2006bc8a4
parent1.15.0 (diff)
parentEnable 3PID add/bind/unbind endpoints on r0 routes (diff)
downloadsynapse-356243f08a458b4471cce8a98eb969a95c6e0e1b.tar.xz
Merge pull request #7685 from matrix-org/babolivier/3pid_r0
Enable 3PID add/bind/unbind endpoints on r0 routes
-rw-r--r--changelog.d/7685.bugfix1
-rw-r--r--synapse/rest/client/v2_alpha/account.py6
2 files changed, 4 insertions, 3 deletions
diff --git a/changelog.d/7685.bugfix b/changelog.d/7685.bugfix
new file mode 100644
index 0000000000..ca87e570d3
--- /dev/null
+++ b/changelog.d/7685.bugfix
@@ -0,0 +1 @@
+Fix bug introduced on v1.15.0 which meant that some 3PID management endpoints were not accessible on the correct URL.
\ No newline at end of file
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index d4f721b6b9..1dc4a3247f 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -682,7 +682,7 @@ class ThreepidRestServlet(RestServlet):
 
 
 class ThreepidAddRestServlet(RestServlet):
-    PATTERNS = client_patterns("/account/3pid/add$", releases=(), unstable=True)
+    PATTERNS = client_patterns("/account/3pid/add$")
 
     def __init__(self, hs):
         super(ThreepidAddRestServlet, self).__init__()
@@ -733,7 +733,7 @@ class ThreepidAddRestServlet(RestServlet):
 
 
 class ThreepidBindRestServlet(RestServlet):
-    PATTERNS = client_patterns("/account/3pid/bind$", releases=(), unstable=True)
+    PATTERNS = client_patterns("/account/3pid/bind$")
 
     def __init__(self, hs):
         super(ThreepidBindRestServlet, self).__init__()
@@ -762,7 +762,7 @@ class ThreepidBindRestServlet(RestServlet):
 
 
 class ThreepidUnbindRestServlet(RestServlet):
-    PATTERNS = client_patterns("/account/3pid/unbind$", releases=(), unstable=True)
+    PATTERNS = client_patterns("/account/3pid/unbind$")
 
     def __init__(self, hs):
         super(ThreepidUnbindRestServlet, self).__init__()