Skip to content

Commit

Permalink
Clarify rule 4.3.1 of the auth rules in room version 11 (#2024)
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Kasak <[email protected]>
  • Loading branch information
dkasak authored Dec 4, 2024
1 parent 8ab2988 commit 336b855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/room_versions/newsfragments/2024.clarification
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion content/rooms/v11.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 336b855

Please sign in to comment.