summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-10-22 21:44:58 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-10-22 21:44:58 -0400
commit1fabf82d50f3db25ce0e4a93f349d90eb2d30a16 (patch)
tree389d4cc86d279a0237177df9dceb20879ce8b477 /synapse/storage
parentadd missing param (diff)
downloadsynapse-1fabf82d50f3db25ce0e4a93f349d90eb2d30a16.tar.xz
update to work with newer code, and fix formatting
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py
index 60bf6d68ec..1aaef1fbb0 100644
--- a/synapse/storage/devices.py
+++ b/synapse/storage/devices.py
@@ -214,7 +214,7 @@ class DeviceWorkerStore(SQLBaseStore):
         # figure out which cross-signing keys were changed by intersecting the
         # update list with the master/self-signing key by user maps
         cross_signing_keys_by_user = {}
-        for user_id, device_id, stream in updates:
+        for user_id, device_id, stream, _opentracing_context in updates:
             if device_id == master_key_by_user.get(user_id, {}).get("pubkey", None):
                 result = cross_signing_keys_by_user.setdefault(user_id, {})
                 result["master_key"] = master_key_by_user[user_id]["key_info"]