diff options
author | Erik Johnston <erik@matrix.org> | 2017-09-08 14:44:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-09-08 14:44:36 +0100 |
commit | 69ef4987a68d66093007ca11886e25139ea0c970 (patch) | |
tree | 9794dea29cadedb4f8ec5ab1fded01df274dde22 /synapse/rest/client/v2_alpha/keys.py | |
parent | Send down device list change notif when member leaves/rejoins room (diff) | |
download | synapse-69ef4987a68d66093007ca11886e25139ea0c970.tar.xz |
Add left section to /keys/changes
Diffstat (limited to 'synapse/rest/client/v2_alpha/keys.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/keys.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/rest/client/v2_alpha/keys.py b/synapse/rest/client/v2_alpha/keys.py index 6a3cfe84f8..943e87e7fd 100644 --- a/synapse/rest/client/v2_alpha/keys.py +++ b/synapse/rest/client/v2_alpha/keys.py @@ -188,13 +188,11 @@ class KeyChangesServlet(RestServlet): user_id = requester.user.to_string() - changed = yield self.device_handler.get_user_ids_changed( + results = yield self.device_handler.get_user_ids_changed( user_id, from_token, ) - defer.returnValue((200, { - "changed": list(changed), - })) + defer.returnValue((200, results)) class OneTimeKeyServlet(RestServlet): |