summary refs log tree commit diff
path: root/synapse/handlers/federation_event.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-08-01 10:14:29 -0400
committerGitHub <noreply@github.com>2022-08-01 14:14:29 +0000
commitf8e7a9418a755b888ed254896bada5e45ebc0a04 (patch)
tree2ae946e968c7f6ca943cf2a5e653f79b2a4d066c /synapse/handlers/federation_event.py
parentRefactor `_resolve_state_at_missing_prevs` to return an `EventContext` (#13404) (diff)
downloadsynapse-f8e7a9418a755b888ed254896bada5e45ebc0a04.tar.xz
Fix missing import in `federation_event` handler. (#13431)
#13404 removed an import of `Optional` which was still needed
due to #13413 added more usages.
Diffstat (limited to 'synapse/handlers/federation_event.py')
-rw-r--r--synapse/handlers/federation_event.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py
index 612e5aaa5b..91d1439191 100644
--- a/synapse/handlers/federation_event.py
+++ b/synapse/handlers/federation_event.py
@@ -23,6 +23,7 @@ from typing import (
     Dict,
     Iterable,
     List,
+    Optional,
     Sequence,
     Set,
     Tuple,