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 /tests/handlers/test_presence.py | |
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 'tests/handlers/test_presence.py')
-rw-r--r-- | tests/handlers/test_presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_presence.py b/tests/handlers/test_presence.py index 05ea40a7de..306dcfe944 100644 --- a/tests/handlers/test_presence.py +++ b/tests/handlers/test_presence.py @@ -19,6 +19,7 @@ from mock import Mock, call from signedjson.key import generate_signing_key from synapse.api.constants import EventTypes, Membership, PresenceState +from synapse.api.presence import UserPresenceState from synapse.api.room_versions import KNOWN_ROOM_VERSIONS from synapse.events.builder import EventBuilder from synapse.handlers.presence import ( @@ -32,7 +33,6 @@ from synapse.handlers.presence import ( handle_update, ) from synapse.rest.client.v1 import room -from synapse.storage.presence import UserPresenceState from synapse.types import UserID, get_domain_from_id from tests import unittest |