mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Allow guests to operate in encrypted rooms (#7314)
Signed-off-by: Michael Albert <michael.albert@awesome-technologies.de>
This commit is contained in:
parent
3b415e23a5
commit
b6c6fb7950
2 changed files with 2 additions and 1 deletions
1
changelog.d/7314.misc
Normal file
1
changelog.d/7314.misc
Normal file
|
@ -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.
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue