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