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

Commit cf4daf2

Browse files
committed
Use unstable prefix for 3PID unbind API (#6062)
2 parents 058d767 + 36015d6 commit cf4daf2

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
@@ -599,7 +599,7 @@ def shadow_3pid(self, body, user_id):
599599

600600

601601
class ThreepidUnbindRestServlet(RestServlet):
602-
PATTERNS = client_patterns("/account/3pid/unbind$")
602+
PATTERNS = client_patterns("/account/3pid/unbind$", releases=(), unstable=True)
603603

604604
def __init__(self, hs):
605605
super(ThreepidUnbindRestServlet, self).__init__()

0 commit comments

Comments
 (0)