This commit is contained in:
Erik Johnston 2017-01-27 10:33:26 +00:00
parent 738a2867c8
commit c517a19c2d
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ class EndToEndKeyStore(SQLBaseStore):
"""Fetch a list of device keys. """Fetch a list of device keys.
Args: Args:
query_list(list): List of pairs of user_ids and device_ids. query_list(list): List of pairs of user_ids and device_ids.
include_all_devices (bool): whether to include entries for devices
that don't have device keys
Returns: Returns:
Dict mapping from user-id to dict mapping from device_id to Dict mapping from user-id to dict mapping from device_id to
dict containing "key_json", "device_display_name". dict containing "key_json", "device_display_name".