Compare commits

...

4 commits

Author SHA1 Message Date
gewitternacht 3685b912f9
Merge 3e6c1e35d9 into 68994d7fcd 2026-07-14 09:43:26 +02:00
Johanna Stuber 3e6c1e35d9 avoid 'message body' for Megolm too
Signed-off-by: Johanna Stuber <johannas@element.io>
2026-07-14 09:43:17 +02:00
Johanna Stuber 409d052b79 change 'pre-key message' to plural
Signed-off-by: Johanna Stuber <johannas@element.io>
2026-07-14 09:37:20 +02:00
Johanna Stuber 22dfc249b6 reorder explanation of and , avoid 'message body'
Signed-off-by: Johanna Stuber <johannas@element.io>
2026-07-14 09:32:08 +02:00

View file

@ -1742,11 +1742,11 @@ The content of an event encrypted using Olm has the following format:
Note that when the event is received from the server, it will have a `type`
(with a value of `m.room.encrypted`) and `sender` property alongside the
`content` property. In `content`, `ciphertext` is a mapping from a device
Curve25519 key to an object with a `type` and a `body`. Here, `type` is an
integer indicating the type of the message body:
0 for the initial [pre-key message](/olm-megolm/olm/#pre-key-messages),
1 for [normal messages](/olm-megolm/olm/#normal-messages);
`body` is a Base64-encoded [Olm message body](/olm-megolm/olm/#the-olm-message-format).
Curve25519 key to an object with a `type` and a `body`. Here, `body` is a
Base64-encoded [Olm message](/olm-megolm/olm/#the-olm-message-format), and
`type` is an integer indicating the type of the message:
0 for the initial [pre-key messages](/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
a message. Once a session has decrypted a message it will produce
@ -1912,7 +1912,7 @@ The content of an event encrypted using Megolm has the following format:
Note that when the event is received from the server, it will have additional
properties alongside the `content` property, including a `type` (with a value
of `m.room.encrypted`) and a `sender` property. In `content`, `ciphertext`
is a Base64-encoded [Megolm message body](/olm-megolm/megolm/#message-format),
is a Base64-encoded [Megolm message](/olm-megolm/megolm/#message-format),
whose plaintext body is of the form:
```json