From a56eccbbfc377d071a403fde875e02cf8fb1b68a Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 21 Jul 2015 16:38:16 -0700 Subject: Query for all the ones we were asked about, not just the last... --- synapse/rest/client/v2_alpha/keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/rest/client/v2_alpha/keys.py b/synapse/rest/client/v2_alpha/keys.py index 9a0c842283..5f3a6207b5 100644 --- a/synapse/rest/client/v2_alpha/keys.py +++ b/synapse/rest/client/v2_alpha/keys.py @@ -180,7 +180,7 @@ class KeyQueryServlet(RestServlet): else: for device_id in device_ids: query.append((user_id, device_id)) - results = yield self.store.get_e2e_device_keys([(user_id, device_id)]) + results = yield self.store.get_e2e_device_keys(query) defer.returnValue(self.json_result(request, results)) @defer.inlineCallbacks -- cgit 1.4.1