diff options
author | David Baker <dave@matrix.org> | 2018-05-24 11:23:15 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-05-24 11:23:15 +0100 |
commit | 9700d15611ec93d1177d29181362fbd02df92629 (patch) | |
tree | 901ec633f69674f3b516935df5b03909a24c81d1 /synapse/handlers/identity.py | |
parent | comment (diff) | |
download | synapse-9700d15611ec93d1177d29181362fbd02df92629.tar.xz |
pep8
Diffstat (limited to 'synapse/handlers/identity.py')
-rw-r--r-- | synapse/handlers/identity.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py index 6bc3479755..92cd4019d8 100644 --- a/synapse/handlers/identity.py +++ b/synapse/handlers/identity.py @@ -148,9 +148,10 @@ class IdentityHandler(BaseHandler): logger.warn("Can't unbind threepid: no trusted ID servers set in config") defer.returnValue(False) - # We don't track what ID server we added 3pids on (perhaps we ought to) but we assume - # that any of the servers in the trusted list are in the same ID server federation, - # so we can pick any one of them to send the deletion request to. + # We don't track what ID server we added 3pids on (perhaps we ought to) + # but we assume that any of the servers in the trusted list are in the + # same ID server federation, so we can pick any one of them to send the + # deletion request to. id_server = next(iter(self.trusted_id_servers)) url = "https://%s/_matrix/identity/api/v1/3pid/unbind" % (id_server,) |