fix json indent

This commit is contained in:
Valentin Deniaud 2018-06-06 16:23:32 +02:00
parent 07e3de3c61
commit 2686b99080

View file

@ -274,13 +274,16 @@ An event encrypted using Olm has the following format:
{ {
"type": "m.room.encrypted", "type": "m.room.encrypted",
"content": { "content": {
"algorithm": "m.olm.v1.curve25519-aes-sha2", "algorithm": "m.olm.v1.curve25519-aes-sha2",
"sender_key": "<sender_curve25519_key>", "sender_key": "<sender_curve25519_key>",
"ciphertext": { "ciphertext": {
"<device_curve25519_key>": { "<device_curve25519_key>": {
"type": 0, "type": 0,
"body": "<base_64>" "body": "<base_64>"
} } } } }
}
}
}
``ciphertext`` is a mapping from device Curve25519 key to an encrypted payload ``ciphertext`` is a mapping from device Curve25519 key to an encrypted payload
for that device. ``body`` is a Base64-encoded Olm message body. ``type`` is an for that device. ``body`` is a Base64-encoded Olm message body. ``type`` is an