From ca09415e803cda522c0166dfb78cc62355aef40a Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 17 Jan 2018 11:16:48 +0000 Subject: [PATCH] Fix /keys/changes response to reflect reality --- api/client-server/keys.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/api/client-server/keys.yaml b/api/client-server/keys.yaml index 317a1295..1b821dea 100644 --- a/api/client-server/keys.yaml +++ b/api/client-server/keys.yaml @@ -336,7 +336,7 @@ paths: schema: type: object properties: - changes: + changed: type: array items: type: string @@ -344,5 +344,14 @@ paths: The Matrix User IDs of all users who updated their device identity keys. example: ["@alice:example.com", "@bob:example.org"] + left: + type: array + items: + type: string + description: |- + The Matrix User IDs of all users who may have left an + end-to-end encrypted room that the user is joined to. + identity keys. + example: ["@clara:example.com", "@doug:example.org"] tags: - End-to-end encryption