diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-04-22 16:43:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 16:43:50 +0100 |
commit | 294c67503300b6bfa7785a5cfa55e25c1e452574 (patch) | |
tree | 51ce6340ba5f84e6cfb3dd53dd3e0c236105ce83 /synapse/handlers/presence.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-294c67503300b6bfa7785a5cfa55e25c1e452574.tar.xz |
Remove `synapse.types.Collection` (#9856)
This is no longer required, since we have dropped support for Python 3.5.
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 598466c9bd..7fd28ffa54 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -28,6 +28,7 @@ from bisect import bisect from contextlib import contextmanager from typing import ( TYPE_CHECKING, + Collection, Dict, FrozenSet, Iterable, @@ -59,7 +60,7 @@ from synapse.replication.tcp.commands import ClearUserSyncsCommand from synapse.replication.tcp.streams import PresenceFederationStream, PresenceStream from synapse.state import StateHandler from synapse.storage.databases.main import DataStore -from synapse.types import Collection, JsonDict, UserID, get_domain_from_id +from synapse.types import JsonDict, UserID, get_domain_from_id from synapse.util.async_helpers import Linearizer from synapse.util.caches.descriptors import _CacheContext, cached from synapse.util.metrics import Measure |