Allow clients to pass unsigned data in /keys/upload

This commit is contained in:
Richard van der Hoff 2024-07-11 16:03:35 +01:00
parent 3aae60f17b
commit 6d4e10b685

View file

@ -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