mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-17 16:44:09 +02:00
Compare commits
4 commits
b982190b20
...
71bf499272
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71bf499272 | ||
|
|
fe3f43a905 | ||
|
|
4783619964 | ||
|
|
617804e3c7 |
|
|
@ -0,0 +1 @@
|
|||
Clarify how to use `state_after` ahead of declaring full support for its spec version.
|
||||
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`
|
||||
|
||||
The name `m.olm.v1.curve25519-aes-sha2` corresponds to version 1 of the
|
||||
Olm ratchet, as defined by the [Olm
|
||||
specification](http://matrix.org/docs/spec/olm.html). This uses:
|
||||
Olm ratchet, as defined by the [Olm specification](/olm-megolm/olm).
|
||||
This uses:
|
||||
|
||||
- Curve25519 for the initial key agreement.
|
||||
- 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" %}}
|
||||
|
||||
The name `m.megolm.v1.aes-sha2` corresponds to version 1 of the Megolm
|
||||
ratchet, as defined by the [Megolm
|
||||
specification](http://matrix.org/docs/spec/megolm.html). This uses:
|
||||
ratchet, as defined by the [Megolm specification](/olm-megolm/megolm).
|
||||
This uses:
|
||||
|
||||
- HMAC-SHA-256 for the hash ratchet.
|
||||
- HKDF-SHA-256, AES-256 in CBC mode, and 8 byte truncated HMAC-SHA-256
|
||||
|
|
|
|||
|
|
@ -133,10 +133,15 @@ paths:
|
|||
sync and the **start** of the timeline in `state` and MUST omit
|
||||
`state_after`.
|
||||
|
||||
Even if this is set to `true`, clients MUST update their local state
|
||||
with events in `state` and `timeline` if `state_after` is missing in
|
||||
the response, for compatibility with servers that don't support this
|
||||
parameter.
|
||||
Servers MAY implement this parameter ahead of declaring support for
|
||||
the version of the spec in which it was introduced. Consequently,
|
||||
clients MAY set this parameter to `true` regardless of the
|
||||
[`/versions`](/client-server-api/#get_matrixclientversions) response.
|
||||
If they do, they can infer whether the server actually supports this
|
||||
parameter from the presence of `state_after` in the response. If
|
||||
`state_after` is missing, clients MUST behave as if they had not
|
||||
specified the parameter and update their local state with events
|
||||
in `state` and `timeline`.
|
||||
|
||||
By default, this is `false`.
|
||||
example: false
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
{{ if .Page.Store.Get "hasMath" }}
|
||||
<link href="/css/katex.min.css" rel="preload" as="style">
|
||||
<link href="/css/katex.min.css" rel="stylesheet">
|
||||
<link href="{{ relURL "css/katex.min.css" }}" rel="preload" as="style">
|
||||
<link href="{{ relURL "css/katex.min.css" }}" rel="stylesheet">
|
||||
{{ end }}
|
||||
</head>
|
||||
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue