From cfc55b243d8610763777083162d00be69995fedf Mon Sep 17 00:00:00 2001 From: Devin Ragotzy Date: Fri, 16 Apr 2021 08:07:17 -0400 Subject: [PATCH] Fix user ID examples in direct_to_device schema --- .../definitions/event-schemas/m.direct_to_device.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/api/server-server/definitions/event-schemas/m.direct_to_device.yaml b/data/api/server-server/definitions/event-schemas/m.direct_to_device.yaml index 916922cf..f628ebe0 100644 --- a/data/api/server-server/definitions/event-schemas/m.direct_to_device.yaml +++ b/data/api/server-server/definitions/event-schemas/m.direct_to_device.yaml @@ -35,7 +35,7 @@ allOf: sender: type: string description: User ID of the sender. - example: "john@example.com" + example: "@john:example.com" type: type: string description: Event type for the message. @@ -59,7 +59,7 @@ allOf: title: Device Message Contents properties: {} example: { - "alice@example.org": { + "@alice:example.org": { "IWHQUZUIAH": { "algorithm": "m.megolm.v1.aes-sha2", "room_id": "!Cuyf34gef24t:localhost",