mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-24 09:58:38 +01:00
* Room versions 8 and 9: Restricted rooms MSCs: * https://github.com/matrix-org/matrix-doc/pull/3083 * https://github.com/matrix-org/matrix-doc/pull/3289 * https://github.com/matrix-org/matrix-doc/pull/3375 * Changelogs * Capitalization Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Remove verbiage for spaces because they don't exist * Iterations on text * Another clarification * Make error code descriptions consistent * Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Incorporate from merge * Misc language update per review * Update accuracy before splitting auth rules * fix wtf moment * Fix up v8 and v9 to match "fully specify room versions" * Scope auth events selection to room version * Apply consistency * Add changelogs * Review part 1 * Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Split out redaction sections * Clarify general case of join conditions Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
29 lines
830 B
JSON
29 lines
830 B
JSON
{
|
|
"$ref": "unsigned_pdu_base.json",
|
|
"hashes": {
|
|
"sha256": "thishashcoversallfieldsincasethisisredacted"
|
|
},
|
|
"signatures": {
|
|
"example.com": {
|
|
"ed25519:key_version": "these86bytesofbase64signaturecoveressentialfieldsincludinghashessocancheckredactedpdus"
|
|
},
|
|
"resident.example.com": {
|
|
"ed25519:other_key_version": "a different signature"
|
|
}
|
|
},
|
|
"auth_events": [
|
|
"$urlsafe_base64_encoded_eventid",
|
|
"$a-different-event-id"
|
|
],
|
|
"prev_events": [
|
|
"$urlsafe_base64_encoded_eventid",
|
|
"$a-different-event-id"
|
|
],
|
|
"type": "m.room.member",
|
|
"state_key": "@alice:example.com",
|
|
"content": {
|
|
"membership": "join",
|
|
"join_authorised_via_users_server": "@arbitrary:resident.example.com"
|
|
}
|
|
}
|