Fix user ID examples in direct_to_device schema
This commit is contained in:
parent
a855ed338b
commit
cfc55b243d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue