summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2021-10-27 17:27:23 +0100
committerGitHub <noreply@github.com>2021-10-27 17:27:23 +0100
commit75ca0a6168f92dab3255839cf85fb0df3a0076c3 (patch)
treeb4326bf5fae23b6df52d9f43dbc6d1ddce3b68c6 /synapse/handlers/directory.py
parentFixed config parse bug in review_recent_signups (#11191) (diff)
downloadsynapse-75ca0a6168f92dab3255839cf85fb0df3a0076c3.tar.xz
Annotate `log_function` decorator (#10943)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index 8567cb0e00..8ca5f60b1c 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -245,7 +245,7 @@ class DirectoryHandler:
                 servers = result.servers
         else:
             try:
-                fed_result = await self.federation.make_query(
+                fed_result: Optional[JsonDict] = await self.federation.make_query(
                     destination=room_alias.domain,
                     query_type="directory",
                     args={"room_alias": room_alias.to_string()},