summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorMichael Albert <37796947+awesome-michael@users.noreply.github.com>2020-08-03 13:13:49 +0200
committerGitHub <noreply@github.com>2020-08-03 12:13:49 +0100
commitb6c6fb79506472d8546e0b459de6192afc64f325 (patch)
tree103e348f345845796069d04f81477cf9d7ff6c2a /synapse/rest/client
parentConvert replication code to async/await. (#7987) (diff)
downloadsynapse-b6c6fb79506472d8546e0b459de6192afc64f325.tar.xz
Allow guests to operate in encrypted rooms (#7314)
Signed-off-by: Michael Albert <michael.albert@awesome-technologies.de>
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index 26d5a51cb2..2ab30ce897 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -444,7 +444,7 @@ class RoomMemberListRestServlet(RestServlet):
 
     async def on_GET(self, request, room_id):
         # TODO support Pagination stream API (limit/tokens)
-        requester = await self.auth.get_user_by_req(request)
+        requester = await self.auth.get_user_by_req(request, allow_guest=True)
         handler = self.message_handler
 
         # request the state as of a given event, as identified by a stream token,