mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-01 22:54:10 +02:00
Compare commits
5 commits
a76b53491a
...
f3e51f5884
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3e51f5884 | ||
|
|
fe3f43a905 | ||
|
|
4783619964 | ||
|
|
3c17aa3789 | ||
|
|
506bc1a164 |
|
|
@ -0,0 +1,2 @@
|
||||||
|
Clarify that the stripped state in `invite_state` and `knock_state` in `GET /sync` response must
|
||||||
|
include the full `m.room.member` event of the user.
|
||||||
1
changelogs/internal/newsfragments/2241.clarification
Normal file
1
changelogs/internal/newsfragments/2241.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Inline Olm & Megolm specifications.
|
||||||
1
changelogs/internal/newsfragments/2242.clarification
Normal file
1
changelogs/internal/newsfragments/2242.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Inline Olm & Megolm specifications.
|
||||||
|
|
@ -1457,8 +1457,8 @@ readers without adding any useful extra information.
|
||||||
##### `m.olm.v1.curve25519-aes-sha2`
|
##### `m.olm.v1.curve25519-aes-sha2`
|
||||||
|
|
||||||
The name `m.olm.v1.curve25519-aes-sha2` corresponds to version 1 of the
|
The name `m.olm.v1.curve25519-aes-sha2` corresponds to version 1 of the
|
||||||
Olm ratchet, as defined by the [Olm
|
Olm ratchet, as defined by the [Olm specification](/olm-megolm/olm).
|
||||||
specification](http://matrix.org/docs/spec/olm.html). This uses:
|
This uses:
|
||||||
|
|
||||||
- Curve25519 for the initial key agreement.
|
- Curve25519 for the initial key agreement.
|
||||||
- HKDF-SHA-256 for ratchet key derivation.
|
- HKDF-SHA-256 for ratchet key derivation.
|
||||||
|
|
@ -1631,8 +1631,8 @@ This is due to a deprecation of the fields. See
|
||||||
{{% changed-in v="1.3" %}}
|
{{% changed-in v="1.3" %}}
|
||||||
|
|
||||||
The name `m.megolm.v1.aes-sha2` corresponds to version 1 of the Megolm
|
The name `m.megolm.v1.aes-sha2` corresponds to version 1 of the Megolm
|
||||||
ratchet, as defined by the [Megolm
|
ratchet, as defined by the [Megolm specification](/olm-megolm/megolm).
|
||||||
specification](http://matrix.org/docs/spec/megolm.html). This uses:
|
This uses:
|
||||||
|
|
||||||
- HMAC-SHA-256 for the hash ratchet.
|
- HMAC-SHA-256 for the hash ratchet.
|
||||||
- HKDF-SHA-256, AES-256 in CBC mode, and 8 byte truncated HMAC-SHA-256
|
- HKDF-SHA-256, AES-256 in CBC mode, and 8 byte truncated HMAC-SHA-256
|
||||||
|
|
|
||||||
|
|
@ -369,8 +369,14 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The [stripped state events](/client-server-api/#stripped-state) that form the
|
The [stripped state events](/client-server-api/#stripped-state) that form the
|
||||||
invite state.
|
invite state.
|
||||||
|
|
||||||
|
MUST also include the `m.room.member` event of the user with a membership of
|
||||||
|
`invite`, and using the same event format as joined rooms with the `event_id`
|
||||||
|
and `origin_server_ts` fields.
|
||||||
items:
|
items:
|
||||||
$ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
anyOf:
|
||||||
|
- $ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
||||||
|
- $ref: definitions/client_event_without_room_id.yaml
|
||||||
type: array
|
type: array
|
||||||
knock:
|
knock:
|
||||||
title: Knocked rooms
|
title: Knocked rooms
|
||||||
|
|
@ -394,8 +400,14 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The [stripped state events](/client-server-api/#stripped-state) that form the
|
The [stripped state events](/client-server-api/#stripped-state) that form the
|
||||||
knock state.
|
knock state.
|
||||||
|
|
||||||
|
MUST also include the `m.room.member` event of the user with a membership of
|
||||||
|
`knock`, and using the same event format as joined rooms with the `event_id` and
|
||||||
|
`origin_server_ts` fields.
|
||||||
items:
|
items:
|
||||||
$ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
anyOf:
|
||||||
|
- $ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
||||||
|
- $ref: definitions/client_event_without_room_id.yaml
|
||||||
type: array
|
type: array
|
||||||
leave:
|
leave:
|
||||||
title: Left rooms
|
title: Left rooms
|
||||||
|
|
@ -628,6 +640,8 @@ paths:
|
||||||
"sender": "@alice:example.com",
|
"sender": "@alice:example.com",
|
||||||
"type": "m.room.member",
|
"type": "m.room.member",
|
||||||
"state_key": "@bob:example.com",
|
"state_key": "@bob:example.com",
|
||||||
|
"event_id": "$19dl9d3848dJLle:example.com",
|
||||||
|
"origin_server_ts": 1432735439654,
|
||||||
"content": {
|
"content": {
|
||||||
"membership": "invite"
|
"membership": "invite"
|
||||||
}
|
}
|
||||||
|
|
@ -652,6 +666,8 @@ paths:
|
||||||
"sender": "@bob:example.com",
|
"sender": "@bob:example.com",
|
||||||
"type": "m.room.member",
|
"type": "m.room.member",
|
||||||
"state_key": "@bob:example.com",
|
"state_key": "@bob:example.com",
|
||||||
|
"event_id": "$Fg83Kl3764di23a:example.com",
|
||||||
|
"origin_server_ts": 143273039402,
|
||||||
"content": {
|
"content": {
|
||||||
"membership": "knock"
|
"membership": "knock"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
{{ if .Page.Store.Get "hasMath" }}
|
{{ if .Page.Store.Get "hasMath" }}
|
||||||
<link href="/css/katex.min.css" rel="preload" as="style">
|
<link href="{{ relURL "css/katex.min.css" }}" rel="preload" as="style">
|
||||||
<link href="/css/katex.min.css" rel="stylesheet">
|
<link href="{{ relURL "css/katex.min.css" }}" rel="stylesheet">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
|
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue