fix json indent
This commit is contained in:
parent
07e3de3c61
commit
2686b99080
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue