diff options
author | Will Hunt <will@half-shot.uk> | 2020-08-28 16:16:00 +0100 |
---|---|---|
committer | Will Hunt <will@half-shot.uk> | 2020-08-28 16:16:00 +0100 |
commit | 8a4c5abe72705ddf2246d023657a14c5b0033e8f (patch) | |
tree | 2e07f479d4f6b20f3e92001351f517b193992583 /synapse/rest/client | |
parent | Switch to using runInteraction (diff) | |
download | synapse-8a4c5abe72705ddf2246d023657a14c5b0033e8f.tar.xz |
Add tests
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v2_alpha/shared_rooms.py | 1 |
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 ) |