summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2024-07-11 16:03:35 +0100
committerRichard van der Hoff <richard@matrix.org>2024-07-11 16:03:35 +0100
commit6d4e10b68589d5fb74b7cb2a58cbfa91508b3c58 (patch)
tree83d07f5741cb4b57fe4fff76c016a133897e2b74
parentEnable cross-signing key upload without UIA (#17284) (diff)
downloadsynapse-rav/device_keys_client_data.tar.xz
Allow clients to pass `unsigned` data in `/keys/upload` github/rav/device_keys_client_data rav/device_keys_client_data
-rw-r--r--synapse/storage/databases/main/end_to_end_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/end_to_end_keys.py b/synapse/storage/databases/main/end_to_end_keys.py

index 38d8785faa..d36df75bb8 100644 --- a/synapse/storage/databases/main/end_to_end_keys.py +++ b/synapse/storage/databases/main/end_to_end_keys.py
@@ -240,7 +240,7 @@ class EndToEndKeyWorkerStore(EndToEndKeyBackgroundStore, CacheInvalidationWorker if r is None: continue - r["unsigned"] = {} + r.setdefault("unsigned", {}) if include_displaynames: # Include the device's display name in the "unsigned" dictionary display_name = device_info.display_name