summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2020-08-28 16:16:00 +0100
committerWill Hunt <will@half-shot.uk>2020-08-28 16:16:00 +0100
commit8a4c5abe72705ddf2246d023657a14c5b0033e8f (patch)
tree2e07f479d4f6b20f3e92001351f517b193992583 /synapse/rest/client
parentSwitch to using runInteraction (diff)
downloadsynapse-8a4c5abe72705ddf2246d023657a14c5b0033e8f.tar.xz
Add tests
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/shared_rooms.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/shared_rooms.py b/synapse/rest/client/v2_alpha/shared_rooms.py
index 60f6d98c0e..2492634dac 100644
--- a/synapse/rest/client/v2_alpha/shared_rooms.py
+++ b/synapse/rest/client/v2_alpha/shared_rooms.py
@@ -57,7 +57,6 @@ class UserSharedRoomsServlet(RestServlet):
                 msg="You cannot request a list of shared rooms with yourself",
                 errcode=Codes.FORBIDDEN,
             )
-
         rooms = await self.store.get_shared_rooms_for_users(
             requester.user.to_string(), user_id
         )