From 720c5046eb64282394a5428917ba2b5b98e4d26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 13 May 2025 17:03:10 +0200 Subject: [PATCH] Clarify that `join_authorised_via_users_server` auth event is only necessary for `join`s (#2100) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- changelogs/server_server/newsfragments/2100.clarification | 1 + content/server-server-api.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/server_server/newsfragments/2100.clarification diff --git a/changelogs/server_server/newsfragments/2100.clarification b/changelogs/server_server/newsfragments/2100.clarification new file mode 100644 index 00000000..a488b392 --- /dev/null +++ b/changelogs/server_server/newsfragments/2100.clarification @@ -0,0 +1 @@ +Clarify that auth event of `content.join_authorised_via_users_server` is only necessary for `m.room.member` with a `membership` of `join`. diff --git a/content/server-server-api.md b/content/server-server-api.md index 10d91468..2745bff6 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -544,8 +544,8 @@ the following subset of the room state: `third_party_invite` property, the current `m.room.third_party_invite` event with `state_key` matching `content.third_party_invite.signed.token`, if any. - - If `content.join_authorised_via_users_server` is present, - and the [room version supports restricted rooms](/rooms/#feature-matrix), + - If `membership` is `join`, `content.join_authorised_via_users_server` + is present, and the [room version supports restricted rooms](/rooms/#feature-matrix), then the `m.room.member` event with `state_key` matching `content.join_authorised_via_users_server`.