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

Commit

Permalink
Merge commit 'b6c6fb795' into anoa/dinsic_release_1_21_x
Browse files Browse the repository at this point in the history
* commit 'b6c6fb795':
  Allow guests to operate in encrypted rooms (#7314)
  • Loading branch information
anoadragon453 committed Oct 16, 2020
2 parents 0fe6f8d + b6c6fb7 commit d670be7
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 d670be7

Please sign in to comment.