summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/end_to_end_keys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/end_to_end_keys.py b/synapse/storage/end_to_end_keys.py
index 325740d7d0..69287c43df 100644
--- a/synapse/storage/end_to_end_keys.py
+++ b/synapse/storage/end_to_end_keys.py
@@ -52,6 +52,7 @@ class EndToEndKeyStore(SQLBaseStore):
                 )
                 for row in rows:
                     user_result[row["device_id"]] = row["key_json"]
+                result[user_id] = user_result
             return result
         return self.runInteraction("get_e2e_device_keys", _get_e2e_device_keys)