diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-17 07:24:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 07:24:46 -0400 |
commit | ad6190c9252aafd37cd8c229b70853bfc4ef0e64 (patch) | |
tree | b2c0049a3cb9012bf63b2a26d885b624ff45f99b /synapse/handlers | |
parent | Add a shadow-banned flag to users. (#8092) (diff) | |
download | synapse-ad6190c9252aafd37cd8c229b70853bfc4ef0e64.tar.xz |
Convert stream database to async/await. (#8074)
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 5387b3724f..24e1940ee5 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -33,13 +33,13 @@ from typing_extensions import ContextManager import synapse.metrics from synapse.api.constants import EventTypes, Membership, PresenceState from synapse.api.errors import SynapseError +from synapse.api.presence import UserPresenceState from synapse.logging.context import run_in_background from synapse.logging.utils import log_function from synapse.metrics import LaterGauge from synapse.metrics.background_process_metrics import run_as_background_process from synapse.state import StateHandler from synapse.storage.databases.main import DataStore -from synapse.storage.presence import UserPresenceState from synapse.types import JsonDict, UserID, get_domain_from_id from synapse.util.async_helpers import Linearizer from synapse.util.caches.descriptors import cached |