From ca13fb1977ee9ecbce3e1bbf8a8467459f83a44f Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Mon, 1 Aug 2022 10:14:29 -0400 Subject: [PATCH] Fix missing import in `federation_event` handler. (#13431) #13404 removed an import of `Optional` which was still needed due to #13413 added more usages. --- changelog.d/13431.misc | 1 + synapse/handlers/federation_event.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/13431.misc diff --git a/changelog.d/13431.misc b/changelog.d/13431.misc new file mode 100644 index 000000000000..655be4061beb --- /dev/null +++ b/changelog.d/13431.misc @@ -0,0 +1 @@ +Refactor `_resolve_state_at_missing_prevs` to compute an `EventContext` instead. diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py index 612e5aaa5bef..91d143919140 100644 --- a/synapse/handlers/federation_event.py +++ b/synapse/handlers/federation_event.py @@ -23,6 +23,7 @@ Dict, Iterable, List, + Optional, Sequence, Set, Tuple,