Clarify rule 4.3.1 of the auth rules in room version 11 (#2024)
Signed-off-by: Denis Kasak <dkasak@termina.org.uk>
This commit is contained in:
parent
8ab2988824
commit
336b855d7a
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Clarify rule 4.3.1 of the auth rules in room version 11 to state which event's `sender` the `state_key` needs to match.
|
|
@ -144,7 +144,7 @@ The rules are as follows:
|
|||
3. If `membership` is `join`:
|
||||
1. {{% changed-in v=11 %}}
|
||||
If the only previous event is an `m.room.create` and the
|
||||
`state_key` is the sender, allow.
|
||||
`state_key` is the sender of the `m.room.create`, allow.
|
||||
2. If the `sender` does not match `state_key`, reject.
|
||||
3. If the `sender` is banned, reject.
|
||||
4. If the `join_rule` is `invite` or `knock` then allow if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue