diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-07-29 16:15:46 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 16:52:41 +0100 |
commit | 28c742149d322644a63b2dba62758c3b6355097c (patch) | |
tree | 0e444ef18f3f36fdb7733a9276e756d1b1f022f9 | |
parent | Give a proper error for invalid pagination tokens. (diff) | |
download | synapse-28c742149d322644a63b2dba62758c3b6355097c.tar.xz |
Use async/await syntax.
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r-- | synapse/handlers/room_list.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index 4774905c40..c911de022c 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -24,8 +24,7 @@ from unpaddedbase64 import decode_base64, encode_base64 from twisted.internet import defer from synapse.api.constants import EventTypes, JoinRules -from synapse.api.errors import Codes, HttpResponseException -from synapse.api.errors import SynapseError +from synapse.api.errors import Codes, HttpResponseException, SynapseError from synapse.types import ThirdPartyInstanceID from synapse.util.caches.descriptors import cachedInlineCallbacks from synapse.util.caches.response_cache import ResponseCache |