summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-10-30 10:07:36 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-10-30 10:07:36 -0400
commitbc32f102cd1144923581771b0cc84ead4d99cefb (patch)
treec5face65622a32135683abaf5260a04ec8fa4662 /synapse
parentapply changes as a result of PR review (diff)
downloadsynapse-bc32f102cd1144923581771b0cc84ead4d99cefb.tar.xz
black
Diffstat (limited to 'synapse')
-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 0f320b3764..1ab471b3be 100644
--- a/synapse/handlers/e2e_keys.py
+++ b/synapse/handlers/e2e_keys.py
@@ -1160,7 +1160,9 @@ class SigningKeyEduUpdater(object):
                     yield self.store.set_e2e_cross_signing_key(
                         user_id, "self_signing", self_signing_key
                     )
-                    _, verify_key = get_verify_key_from_cross_signing_key(self_signing_key)
+                    _, verify_key = get_verify_key_from_cross_signing_key(
+                        self_signing_key
+                    )
                     device_ids.append(verify_key.version)
 
             yield device_handler.notify_device_update(user_id, device_ids)