summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/room.py6
-rw-r--r--synapse/rest/client/v2_alpha/sendtodevice.py2
2 files changed, 4 insertions, 4 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
diff --git a/synapse/rest/client/v2_alpha/sendtodevice.py b/synapse/rest/client/v2_alpha/sendtodevice.py
index 7c800ca895..4d13e793ac 100644
--- a/synapse/rest/client/v2_alpha/sendtodevice.py
+++ b/synapse/rest/client/v2_alpha/sendtodevice.py
@@ -51,7 +51,7 @@ class SendToDeviceRestServlet(servlet.RestServlet):
             defer.returnValue(res)
         except KeyError:
             pass
-        
+
         res_deferred = self._put(request, message_type, txn_id)
         self.txns.store_client_transaction(request, txn_id, res_deferred)
         res = yield res_deferred