summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-09 07:20:51 -0400
committerGitHub <noreply@github.com>2020-10-09 07:20:51 -0400
commita93f3121f8fd1c2b77e003d8e43ce881635bb098 (patch)
tree2abb73eb4b3fe2334ab5b2c162c1224189740959 /synapse/federation
parentInvalidate the cache when an olm fallback key is uploaded (#8501) (diff)
downloadsynapse-a93f3121f8fd1c2b77e003d8e43ce881635bb098.tar.xz
Add type hints to some handlers (#8505)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/federation_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 02f11e1209..1c7ea886c9 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -861,7 +861,7 @@ class FederationHandlerRegistry:
         self._edu_type_to_instance = {}  # type: Dict[str, str]
 
     def register_edu_handler(
-        self, edu_type: str, handler: Callable[[str, dict], Awaitable[None]]
+        self, edu_type: str, handler: Callable[[str, JsonDict], Awaitable[None]]
     ):
         """Sets the handler callable that will be used to handle an incoming
         federation EDU of the given type.