summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-04-16 13:58:29 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-04-16 13:58:29 +0100
commit70807c83c69442db258d08db52e2616983032c8e (patch)
tree10c8380ecbc5866ee28dc223529566da465e0881
parentSave retrieved keys to the db (diff)
downloadsynapse-70807c83c69442db258d08db52e2616983032c8e.tar.xz
lint
-rw-r--r--synapse/handlers/e2e_keys.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/e2e_keys.py b/synapse/handlers/e2e_keys.py
index 9c1fbaa9b5..3fbb0d104a 100644
--- a/synapse/handlers/e2e_keys.py
+++ b/synapse/handlers/e2e_keys.py
@@ -1003,7 +1003,9 @@ class E2eKeysHandler(object):
                     key_contents = remote_result[key_type][remote_user_id]
                     key_type = key_type[:-5]  # Remove the "_keys" from the key type
 
-                    yield self.store.set_e2e_cross_signing_key(user_id, key_type, key_contents)
+                    yield self.store.set_e2e_cross_signing_key(
+                        user_id, key_type, key_contents
+                    )
 
                 # The key_type variable passed to this function is in the form
                 # "self_signing","master" etc. Whereas the results returned from