diff options
author | Kegan Dougal <kegan@matrix.org> | 2016-11-10 15:22:11 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2016-11-10 15:22:11 +0000 |
commit | 8a8ad46f48525812c983dadcd9e2757cebaaa6cf (patch) | |
tree | 2014f29da2ece48ce99db3a5b32bd01a417f759c /synapse/rest/client/v1/room.py | |
parent | Store Promise<Response> instead of Response for HTTP API transactions (diff) | |
download | synapse-8a8ad46f48525812c983dadcd9e2757cebaaa6cf.tar.xz |
Flake8
Diffstat (limited to 'synapse/rest/client/v1/room.py')
-rw-r--r-- | synapse/rest/client/v1/room.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py index 2e919de9f3..caa779ffaf 100644 --- a/synapse/rest/client/v1/room.py +++ b/synapse/rest/client/v1/room.py @@ -222,7 +222,7 @@ class RoomSendEventRestServlet(ClientV1RestServlet): defer.returnValue(res) except KeyError: pass - + res_deferred = self.on_POST(request, room_id, event_type, txn_id) self.txns.store_client_transaction(request, txn_id, res_deferred) response = yield res_deferred @@ -291,7 +291,7 @@ class JoinRoomAliasServlet(ClientV1RestServlet): defer.returnValue(res) except KeyError: pass - + res_deferred = self.on_POST(request, room_identifier, txn_id) self.txns.store_client_transaction(request, txn_id, res_deferred) response = yield res_deferred @@ -545,7 +545,7 @@ class RoomForgetRestServlet(ClientV1RestServlet): defer.returnValue(res) except KeyError: pass - + res_deferred = self.on_POST(request, room_id, txn_id) self.txns.store_client_transaction(request, txn_id, res_deferred) response = yield res_deferred |