diff --git a/changelogs/room_versions/newsfragments/2024.clarification b/changelogs/room_versions/newsfragments/2024.clarification new file mode 100644 index 00000000..d346cc20 --- /dev/null +++ b/changelogs/room_versions/newsfragments/2024.clarification @@ -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. diff --git a/content/rooms/v11.md b/content/rooms/v11.md index 08edfc01..1be3a405 100644 --- a/content/rooms/v11.md +++ b/content/rooms/v11.md @@ -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