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

Enable 3PID add/bind/unbind endpoints on r0 routes #7685

Merged
merged 1 commit into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7685.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug introduced on v1.15.0 which meant that some 3PID management endpoints were not accessible on the correct URL.
6 changes: 3 additions & 3 deletions synapse/rest/client/v2_alpha/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ async def on_POST(self, request):


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__()
Expand Down Expand Up @@ -733,7 +733,7 @@ async def on_POST(self, request):


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__()
Expand Down Expand Up @@ -762,7 +762,7 @@ async def on_POST(self, request):


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__()
Expand Down