revert example which was corect first time; fix rst

pull/977/head
Matthew Hodgson 6 years ago
parent 2c0b45fd14
commit db302b66ca

@ -51,8 +51,7 @@ allOf:
The contents of the messages to be sent. These are arranged in
a map of user IDs to a map of device IDs to message bodies.
The device ID may also be *, meaning all known devices for the user.
example: |-
{
example: {
"alice@example.org": {
"IWHQUZUIAH": {
"algorithm": "m.megolm.v1.aes-sha2",

@ -1018,7 +1018,7 @@ The server API for send-to-device messaging is based on the following
EDU. There are no PDUs or Federation Queries involved.
Each send-to-device message should be sent to the destination server using
the following EDU::
the following EDU:
{{definition_ss_event_schemas_m_direct_to_device}}

Loading…
Cancel
Save