From 206bf50703a02cda0bcc49f101931fe637cff427 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Wed, 4 Dec 2024 17:04:49 +0100 Subject: [PATCH 1/2] Clarify rule 4.3.1 of the auth rules in room version 11. Signed-off-by: Denis Kasak --- content/rooms/v11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/rooms/v11.md b/content/rooms/v11.md index 08edfc012..1be3a4055 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 From 7409e6980d8cc4da25ca02deaec21e2d6b8d7f39 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Wed, 4 Dec 2024 17:09:21 +0100 Subject: [PATCH 2/2] Add changelog entry. --- changelogs/room_versions/newsfragments/2024.clarification | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/room_versions/newsfragments/2024.clarification diff --git a/changelogs/room_versions/newsfragments/2024.clarification b/changelogs/room_versions/newsfragments/2024.clarification new file mode 100644 index 000000000..d346cc20c --- /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.