Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b6c6fb7

Browse files
Allow guests to operate in encrypted rooms (#7314)
Signed-off-by: Michael Albert <[email protected]>
1 parent 3b415e2 commit b6c6fb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/7314.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH.

synapse/rest/client/v1/room.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def __init__(self, hs):
444444

445445
async def on_GET(self, request, room_id):
446446
# TODO support Pagination stream API (limit/tokens)
447-
requester = await self.auth.get_user_by_req(request)
447+
requester = await self.auth.get_user_by_req(request, allow_guest=True)
448448
handler = self.message_handler
449449

450450
# request the state as of a given event, as identified by a stream token,

0 commit comments

Comments
 (0)