forked from MirrorHub/synapse
Use unstable prefix for 3PID unbind API (#6062)
This commit is contained in:
parent
fe349b497e
commit
36015d68ef
3 changed files with 3 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Add POST /_matrix/client/r0/account/3pid/unbind endpoint from MSC2140 for unbinding a 3PID from an identity server without removing it from the homeserver user account.
|
Add POST /_matrix/client/unstable/account/3pid/unbind endpoint from MSC2140 for unbinding a 3PID from an identity server without removing it from the homeserver user account.
|
||||||
|
|
1
changelog.d/6062.bugfix
Normal file
1
changelog.d/6062.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add POST /_matrix/client/unstable/account/3pid/unbind endpoint from MSC2140 for unbinding a 3PID from an identity server without removing it from the homeserver user account.
|
|
@ -529,7 +529,7 @@ class ThreepidRestServlet(RestServlet):
|
||||||
|
|
||||||
|
|
||||||
class ThreepidUnbindRestServlet(RestServlet):
|
class ThreepidUnbindRestServlet(RestServlet):
|
||||||
PATTERNS = client_patterns("/account/3pid/unbind$")
|
PATTERNS = client_patterns("/account/3pid/unbind$", releases=(), unstable=True)
|
||||||
|
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(ThreepidUnbindRestServlet, self).__init__()
|
super(ThreepidUnbindRestServlet, self).__init__()
|
||||||
|
|
Loading…
Reference in a new issue