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

Commit 36015d6

Browse files
jryansrichvdh
authored andcommitted
Use unstable prefix for 3PID unbind API (#6062)
1 parent fe349b4 commit 36015d6

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

changelog.d/5980.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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.
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.

changelog.d/6062.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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.

synapse/rest/client/v2_alpha/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def on_POST(self, request):
529529

530530

531531
class ThreepidUnbindRestServlet(RestServlet):
532-
PATTERNS = client_patterns("/account/3pid/unbind$")
532+
PATTERNS = client_patterns("/account/3pid/unbind$", releases=(), unstable=True)
533533

534534
def __init__(self, hs):
535535
super(ThreepidUnbindRestServlet, self).__init__()

0 commit comments

Comments
 (0)