summary refs log tree commit diff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-08-28 17:18:40 -0700
committerHubert Chathi <hubert@uhoreg.ca>2019-08-28 17:18:40 -0700
commit96bda563701795537c39d56d82869d953a6bf167 (patch)
treed74ac138dcd9933bf374a284251151ab95312647
parentuse stream ID generator instead of timestamp (diff)
downloadsynapse-96bda563701795537c39d56d82869d953a6bf167.tar.xz
black
-rw-r--r--synapse/handlers/e2e_keys.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/e2e_keys.py b/synapse/handlers/e2e_keys.py
index d2d9bef1fe..870810e6ea 100644
--- a/synapse/handlers/e2e_keys.py
+++ b/synapse/handlers/e2e_keys.py
@@ -530,9 +530,7 @@ class E2eKeysHandler(object):
         # if everything checks out, then store the keys and send notifications
         deviceids = []
         if "master_key" in keys:
-            yield self.store.set_e2e_cross_signing_key(
-                user_id, "master", master_key
-            )
+            yield self.store.set_e2e_cross_signing_key(user_id, "master", master_key)
             deviceids.append(master_verify_key.version)
         if "self_signing_key" in keys:
             yield self.store.set_e2e_cross_signing_key(