summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-10-11 14:24:52 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-10-11 14:24:52 -0400
commit132b251e2963b0e509afe00796f1b227e567b989 (patch)
tree3254c2bd20051f373b9fb715a7aac48a1d86e17b /synapse
parentmake sure we actually return something (diff)
downloadsynapse-132b251e2963b0e509afe00796f1b227e567b989.tar.xz
expand on comment
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/end_to_end_keys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/end_to_end_keys.py b/synapse/storage/end_to_end_keys.py
index b00a391c82..872bc75490 100644
--- a/synapse/storage/end_to_end_keys.py
+++ b/synapse/storage/end_to_end_keys.py
@@ -40,7 +40,8 @@ class EndToEndKeyWorkerStore(SQLBaseStore):
                 This option only takes effect if include_all_devices is true.
         Returns:
             Dict mapping from user-id to dict mapping from device_id to
-            key data.
+            key data.  The key data will be a dict in the same format as the
+            DeviceKeys type returned by POST /_matrix/client/r0/keys/query.
         """
         set_tag("query_list", query_list)
         if not query_list: