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

Commit

Permalink
Allow guests to operate in encrypted rooms (#7314)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Albert <michael.albert@awesome-technologies.de>
  • Loading branch information
awesome-michael authored Aug 3, 2020
1 parent 3b415e2 commit b6c6fb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/7314.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH.
2 changes: 1 addition & 1 deletion synapse/rest/client/v1/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def __init__(self, hs):

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,
Expand Down

0 comments on commit b6c6fb7

Please sign in to comment.