mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-06-09 17:57:47 +02:00
add links from the Client-Server spec to the Olm message definitions (#2381)
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spec / Create release (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spec / Create release (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
* add links from the Client-Server spec to the Olm message definitions * add newsfragment
This commit is contained in:
parent
f65501882d
commit
19fbee9842
|
|
@ -0,0 +1 @@
|
||||||
|
Add links from the Client-Server spec to the Olm message definitions.
|
||||||
|
|
@ -1623,9 +1623,9 @@ An event encrypted using Olm has the following format:
|
||||||
```
|
```
|
||||||
|
|
||||||
`ciphertext` is a mapping from device Curve25519 key to an encrypted
|
`ciphertext` is a mapping from device Curve25519 key to an encrypted
|
||||||
payload for that device. `body` is a Base64-encoded Olm message body.
|
payload for that device. `body` is a Base64-encoded [Olm message body](/olm-megolm/olm/#the-olm-message-format).
|
||||||
`type` is an integer indicating the type of the message body: 0 for the
|
`type` is an integer indicating the type of the message body: 0 for the
|
||||||
initial pre-key message, 1 for ordinary messages.
|
initial [pre-key message](/olm-megolm/olm/#pre-key-messages), 1 for [normal messages](/olm-megolm/olm/#normal-messages).
|
||||||
|
|
||||||
Olm sessions will generate messages with a type of 0 until they receive
|
Olm sessions will generate messages with a type of 0 until they receive
|
||||||
a message. Once a session has decrypted a message it will produce
|
a message. Once a session has decrypted a message it will produce
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue