Clarify that join rules must be in auth events for knock events

Since it is necessary for passing the authorization rules

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-01-24 21:44:40 +01:00
parent 9e0f2aad94
commit 206dff02af
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -537,7 +537,7 @@ the following subset of the room state:
- If type is `m.room.member`:
- The target's current `m.room.member` event, if any.
- If `membership` is `join` or `invite`, the current
- If `membership` is `join`, `invite` or `knock`, the current
`m.room.join_rules` event, if any.
- If membership is `invite` and `content` contains a
`third_party_invite` property, the current