mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 15:23:52 +01:00
Enable 3PID add/bind/unbind endpoints on r0 routes
This commit is contained in:
parent
3b3f327a0d
commit
6d5985e1f2
2 changed files with 4 additions and 3 deletions
1
changelog.d/7685.bugfix
Normal file
1
changelog.d/7685.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix bug introduced on v1.15.0 which meant that some 3PID management endpoints were not accessible on the correct URL.
|
|
@ -682,7 +682,7 @@ class ThreepidRestServlet(RestServlet):
|
||||||
|
|
||||||
|
|
||||||
class ThreepidAddRestServlet(RestServlet):
|
class ThreepidAddRestServlet(RestServlet):
|
||||||
PATTERNS = client_patterns("/account/3pid/add$", releases=(), unstable=True)
|
PATTERNS = client_patterns("/account/3pid/add$")
|
||||||
|
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(ThreepidAddRestServlet, self).__init__()
|
super(ThreepidAddRestServlet, self).__init__()
|
||||||
|
@ -733,7 +733,7 @@ class ThreepidAddRestServlet(RestServlet):
|
||||||
|
|
||||||
|
|
||||||
class ThreepidBindRestServlet(RestServlet):
|
class ThreepidBindRestServlet(RestServlet):
|
||||||
PATTERNS = client_patterns("/account/3pid/bind$", releases=(), unstable=True)
|
PATTERNS = client_patterns("/account/3pid/bind$")
|
||||||
|
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(ThreepidBindRestServlet, self).__init__()
|
super(ThreepidBindRestServlet, self).__init__()
|
||||||
|
@ -762,7 +762,7 @@ class ThreepidBindRestServlet(RestServlet):
|
||||||
|
|
||||||
|
|
||||||
class ThreepidUnbindRestServlet(RestServlet):
|
class ThreepidUnbindRestServlet(RestServlet):
|
||||||
PATTERNS = client_patterns("/account/3pid/unbind$", releases=(), unstable=True)
|
PATTERNS = client_patterns("/account/3pid/unbind$")
|
||||||
|
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(ThreepidUnbindRestServlet, self).__init__()
|
super(ThreepidUnbindRestServlet, self).__init__()
|
||||||
|
|
Loading…
Reference in a new issue