Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 356243f

Browse files
authored
Merge pull request #7685 from matrix-org/babolivier/3pid_r0
Enable 3PID add/bind/unbind endpoints on r0 routes
2 parents 3b3f327 + 6d5985e commit 356243f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

changelog.d/7685.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bug introduced on v1.15.0 which meant that some 3PID management endpoints were not accessible on the correct URL.

synapse/rest/client/v2_alpha/account.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ async def on_POST(self, request):
682682

683683

684684
class ThreepidAddRestServlet(RestServlet):
685-
PATTERNS = client_patterns("/account/3pid/add$", releases=(), unstable=True)
685+
PATTERNS = client_patterns("/account/3pid/add$")
686686

687687
def __init__(self, hs):
688688
super(ThreepidAddRestServlet, self).__init__()
@@ -733,7 +733,7 @@ async def on_POST(self, request):
733733

734734

735735
class ThreepidBindRestServlet(RestServlet):
736-
PATTERNS = client_patterns("/account/3pid/bind$", releases=(), unstable=True)
736+
PATTERNS = client_patterns("/account/3pid/bind$")
737737

738738
def __init__(self, hs):
739739
super(ThreepidBindRestServlet, self).__init__()
@@ -762,7 +762,7 @@ async def on_POST(self, request):
762762

763763

764764
class ThreepidUnbindRestServlet(RestServlet):
765-
PATTERNS = client_patterns("/account/3pid/unbind$", releases=(), unstable=True)
765+
PATTERNS = client_patterns("/account/3pid/unbind$")
766766

767767
def __init__(self, hs):
768768
super(ThreepidUnbindRestServlet, self).__init__()

0 commit comments

Comments
 (0)