summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2020-10-01 17:26:03 +0100
committerWill Hunt <will@half-shot.uk>2020-10-01 17:26:03 +0100
commitde469f56b1feb2ddd67a6cb47e851f3b0853a4cf (patch)
tree681141535df8b6c7506bf6e52be1f197fe443dd9
parentDefault to None if no ephemeral events are ready to be sent (diff)
downloadsynapse-de469f56b1feb2ddd67a6cb47e851f3b0853a4cf.tar.xz
fix collection bug
-rw-r--r--synapse/handlers/appservice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index 0f834c93ab..f1b71029e5 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -14,7 +14,8 @@
 # limitations under the License.
 
 import logging
-from typing import Collection, List, Union
+from typing import List, Union
+from synapse.types import Collection
 
 from prometheus_client import Counter