summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-16 17:20:55 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-16 17:20:55 +0100
commitd670be771547c4c58a3596fe8306e119e7cddd6e (patch)
tree9178235e32f0674d77b70489142d487991cf3402 /synapse/rest/client
parentMerge commit '3b415e23a' into anoa/dinsic_release_1_21_x (diff)
parentAllow guests to operate in encrypted rooms (#7314) (diff)
downloadsynapse-d670be771547c4c58a3596fe8306e119e7cddd6e.tar.xz
Merge commit 'b6c6fb795' into anoa/dinsic_release_1_21_x
* commit 'b6c6fb795':
  Allow guests to operate in encrypted rooms (#7314)
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 1a3398316d..ed82144475 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,