Skip to content

Commit 5c0f999

Browse files
authored
Merge pull request #2689 from Awesome-Technologies/fix_guest_e2ee
MSC2689: Fix E2EE for guests
2 parents 0973e88 + 78f3c3d commit 5c0f999

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

proposals/2689-fix-e2ee-for-guests.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# MSC2689: Allow guests to operate in encrypted rooms
2+
3+
[#751](https://github.com/matrix-org/matrix-doc/pull/751) granted guest users access to several endpoints in order to allow them to use E2EE.
4+
I found that guests are able to join encrypted rooms and read messages from other members. But when the
5+
guest wants to send an event into the room the client receives a "guest access not allowed" error
6+
for the `/rooms/{room_id}/members` endpoint. I assume the client tries to read the list of room members
7+
to prepare the encryption of the event for the present members. Tests with a patched Synapse showed that
8+
allowing guests to use this endpoint results in a normal behaviour and enables guests to communicate in
9+
encrypted rooms.
10+
11+
12+
## Proposal
13+
14+
Allow guests to use the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint to enable them to
15+
operate properly in encrypted rooms.
16+
17+
18+
## Alternatives
19+
20+
The list of room members could also be read from the sync. However that would not work with Lazy Loading.

0 commit comments

Comments
 (0)