summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/keys.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-07-21 16:38:16 -0700
committerDavid Baker <dave@matrix.org>2015-07-21 16:38:16 -0700
commita56eccbbfc377d071a403fde875e02cf8fb1b68a (patch)
treee946dd3a039816cf93567e3acaff364a2077d74c /synapse/rest/client/v2_alpha/keys.py
parentDodesn't seem to make any difference: guess it does work with the object refe... (diff)
downloadsynapse-a56eccbbfc377d071a403fde875e02cf8fb1b68a.tar.xz
Query for all the ones we were asked about, not just the last...
Diffstat (limited to 'synapse/rest/client/v2_alpha/keys.py')
-rw-r--r--synapse/rest/client/v2_alpha/keys.py2
1 files changed, 1 insertions, 1 deletions
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