summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-09-05 14:00:30 +0100
committerGitHub <noreply@github.com>2019-09-05 14:00:30 +0100
commit90d17a3d28d7a87fe1231db3726759339c914753 (patch)
treee2c8a93a25b554fd9dc4bc5668da4e8a2832122d /synapse/handlers
parentRemove bind_email and bind_msisdn (#5964) (diff)
downloadsynapse-90d17a3d28d7a87fe1231db3726759339c914753.tar.xz
Add POST /_matrix/client/r0/account/3pid/unbind (MSC2140) (#5980)
Implements `POST /_matrix/client/r0/account/3pid/unbind` from [MSC2140](https://github.com/matrix-org/matrix-doc/blob/dbkr/tos_2/proposals/2140-terms-of-service-2.md#post-_matrixclientr0account3pidunbind).
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/identity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py
index d199521b58..5540f9f4d5 100644
--- a/synapse/handlers/identity.py
+++ b/synapse/handlers/identity.py
@@ -137,7 +137,8 @@ class IdentityHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def try_unbind_threepid(self, mxid, threepid):
-        """Removes a binding from an identity server
+        """Attempt to remove a 3PID from an identity server, or if one is not provided, all
+        identity servers we're aware the binding is present on
 
         Args:
             mxid (str): Matrix user ID of binding to be removed