This commit is contained in:
Kegan Dougal 2016-11-10 15:22:11 +00:00
parent 2771447c29
commit 8a8ad46f48
2 changed files with 4 additions and 4 deletions

View file

@ -222,7 +222,7 @@ class RoomSendEventRestServlet(ClientV1RestServlet):
defer.returnValue(res) defer.returnValue(res)
except KeyError: except KeyError:
pass pass
res_deferred = self.on_POST(request, room_id, event_type, txn_id) res_deferred = self.on_POST(request, room_id, event_type, txn_id)
self.txns.store_client_transaction(request, txn_id, res_deferred) self.txns.store_client_transaction(request, txn_id, res_deferred)
response = yield res_deferred response = yield res_deferred
@ -291,7 +291,7 @@ class JoinRoomAliasServlet(ClientV1RestServlet):
defer.returnValue(res) defer.returnValue(res)
except KeyError: except KeyError:
pass pass
res_deferred = self.on_POST(request, room_identifier, txn_id) res_deferred = self.on_POST(request, room_identifier, txn_id)
self.txns.store_client_transaction(request, txn_id, res_deferred) self.txns.store_client_transaction(request, txn_id, res_deferred)
response = yield res_deferred response = yield res_deferred
@ -545,7 +545,7 @@ class RoomForgetRestServlet(ClientV1RestServlet):
defer.returnValue(res) defer.returnValue(res)
except KeyError: except KeyError:
pass pass
res_deferred = self.on_POST(request, room_id, txn_id) res_deferred = self.on_POST(request, room_id, txn_id)
self.txns.store_client_transaction(request, txn_id, res_deferred) self.txns.store_client_transaction(request, txn_id, res_deferred)
response = yield res_deferred response = yield res_deferred

View file

@ -51,7 +51,7 @@ class SendToDeviceRestServlet(servlet.RestServlet):
defer.returnValue(res) defer.returnValue(res)
except KeyError: except KeyError:
pass pass
res_deferred = self._put(request, message_type, txn_id) res_deferred = self._put(request, message_type, txn_id)
self.txns.store_client_transaction(request, txn_id, res_deferred) self.txns.store_client_transaction(request, txn_id, res_deferred)
res = yield res_deferred res = yield res_deferred