Merge pull request #3128 from DevinR528/direct-examp-fix

Fix user ID examples in direct_to_device schema
pull/977/head
Travis Ralston 4 years ago committed by Richard van der Hoff
commit eb7337044d

@ -0,0 +1 @@
Fix various typos throughout the specification.

@ -35,7 +35,7 @@ allOf:
sender: sender:
type: string type: string
description: User ID of the sender. description: User ID of the sender.
example: "john@example.com" example: "@john:example.com"
type: type:
type: string type: string
description: Event type for the message. description: Event type for the message.
@ -59,7 +59,7 @@ allOf:
title: Device Message Contents title: Device Message Contents
properties: {} properties: {}
example: { example: {
"alice@example.org": { "@alice:example.org": {
"IWHQUZUIAH": { "IWHQUZUIAH": {
"algorithm": "m.megolm.v1.aes-sha2", "algorithm": "m.megolm.v1.aes-sha2",
"room_id": "!Cuyf34gef24t:localhost", "room_id": "!Cuyf34gef24t:localhost",

Loading…
Cancel
Save