Clarify that the resident server should sign the restricted join (#1093)

* Clarify that server should sign the restricted join

* Changelog

* Changelog
This commit is contained in:
David Robertson 2022-05-28 03:04:09 +01:00 committed by GitHub
parent e38c4e6f17
commit 25a9dcfd3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Auth rules: clarify that the resident server must sign a restricted join event.

View file

@ -46,7 +46,7 @@ The rules are as follows:
1. If no `state_key` key or `membership` key in `content`, reject. 1. If no `state_key` key or `membership` key in `content`, reject.
2. If `content` has a `join_authorised_via_users_server` 2. If `content` has a `join_authorised_via_users_server`
key: key:
1. If the event is not validly signed by the user ID denoted 1. If the event is not validly signed by the homeserver of the user ID denoted
by the key, reject. by the key, reject.
3. If `membership` is `join`: 3. If `membership` is `join`:
1. If the only previous event is an `m.room.create` and the 1. If the only previous event is an `m.room.create` and the