summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-05-04 17:47:19 +0100
committerErik Johnston <erik@matrix.org>2021-05-04 17:57:46 +0100
commitb76fe71627f9894de383fb33061955ec280af86b (patch)
tree05080b2b4cc737fd5b716b411b1f9bf890bd89d7
parentRemove key_ready (diff)
downloadsynapse-b76fe71627f9894de383fb33061955ec280af86b.tar.xz
Fix remote resource
-rw-r--r--synapse/rest/key/v2/remote_key_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/key/v2/remote_key_resource.py b/synapse/rest/key/v2/remote_key_resource.py
index 24af3c28ea..e19e9ef5c7 100644
--- a/synapse/rest/key/v2/remote_key_resource.py
+++ b/synapse/rest/key/v2/remote_key_resource.py
@@ -215,7 +215,7 @@ class RemoteKey(DirectServeJsonResource):
         # ensure the result is sent).
         if cache_misses and query_remote_on_cache_miss:
             await yieldable_gather_results(
-                self.fetcher.get_keys,
+                lambda t: self.fetcher.get_keys(*t),
                 (
                     (server_name, list(keys), 0)
                     for server_name, keys in cache_misses.items()