diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-13 10:58:36 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-13 10:58:50 +0100 |
commit | 984e207b5982df26bec37223cd07b4044dcacdd2 (patch) | |
tree | 9b7cd2052ab91b4365bb43f46d2509b389bf1bab /synapse/handlers/directory.py | |
parent | Merge branch 'develop' into server2server_signing (diff) | |
parent | remove wishlist in favour of jira (diff) | |
download | synapse-984e207b5982df26bec37223cd07b4044dcacdd2.tar.xz |
Merge branch develop into server2server_signing
Conflicts: synapse/app/homeserver.py
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r-- | synapse/handlers/directory.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py index 84c3a1d56f..a56830d520 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py @@ -18,7 +18,6 @@ from twisted.internet import defer from ._base import BaseHandler from synapse.api.errors import SynapseError -from synapse.http.client import HttpClient from synapse.api.events.room import RoomAliasesEvent import logging @@ -98,8 +97,8 @@ class DirectoryHandler(BaseHandler): query_type="directory", args={ "room_alias": room_alias.to_string(), - HttpClient.RETRY_DNS_LOOKUP_FAILURES: False - } + }, + retry_on_dns_fail=False, ) if result and "room_id" in result and "servers" in result: |