|
|
|
@ -543,8 +543,8 @@ the following subset of the room state:
|
|
|
|
`third_party_invite` property, the current
|
|
|
|
`third_party_invite` property, the current
|
|
|
|
`m.room.third_party_invite` event with `state_key` matching
|
|
|
|
`m.room.third_party_invite` event with `state_key` matching
|
|
|
|
`content.third_party_invite.signed.token`, if any.
|
|
|
|
`content.third_party_invite.signed.token`, if any.
|
|
|
|
- If `content.join_authorised_via_users_server` is present,
|
|
|
|
- If `membership` is `join`, `content.join_authorised_via_users_server`
|
|
|
|
and the [room version supports restricted rooms](/rooms/#feature-matrix),
|
|
|
|
is present, and the [room version supports restricted rooms](/rooms/#feature-matrix),
|
|
|
|
then the `m.room.member` event with `state_key` matching
|
|
|
|
then the `m.room.member` event with `state_key` matching
|
|
|
|
`content.join_authorised_via_users_server`.
|
|
|
|
`content.join_authorised_via_users_server`.
|
|
|
|
|
|
|
|
|
|
|
|
@ -1337,7 +1337,7 @@ calculated as follows.
|
|
|
|
The *content hash* of an event covers the complete event including the
|
|
|
|
The *content hash* of an event covers the complete event including the
|
|
|
|
*unredacted* contents. It is calculated as follows.
|
|
|
|
*unredacted* contents. It is calculated as follows.
|
|
|
|
|
|
|
|
|
|
|
|
First, any existing `unsigned`, `signature`, and `hashes` members are
|
|
|
|
First, any existing `unsigned`, `signatures`, and `hashes` properties are
|
|
|
|
removed. The resulting object is then encoded as [Canonical
|
|
|
|
removed. The resulting object is then encoded as [Canonical
|
|
|
|
JSON](/appendices#canonical-json), and the JSON is hashed using
|
|
|
|
JSON](/appendices#canonical-json), and the JSON is hashed using
|
|
|
|
SHA-256.
|
|
|
|
SHA-256.
|
|
|
|
|