Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update the device list cache when keys/query is called #5693

Merged
merged 7 commits into from
Jul 29, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Docstrings
Co-Authored-By: Erik Johnston <[email protected]>
JorikSchellekens and erikjohnston committed Jul 24, 2019
commit 578dbc3024c9bf956ade31078ba81bb4aaf9b8e7
4 changes: 2 additions & 2 deletions synapse/handlers/device.py
Original file line number Diff line number Diff line change
@@ -572,9 +572,9 @@ def user_device_resync(self, user_id):
"""Fetches all devices for a user and updates the device cache with them.

Args:
user_id (String): The user's id whose device_list will be updated.
user_id (str): The user's id whose device_list will be updated.
Returns:
a dict with device info as under the "devices" in the result of this
Deferred[dict]: a dict with device info as under the "devices" in the result of this
request:
https://matrix.org/docs/spec/server_server/r0.1.2#get-matrix-federation-v1-user-devices-userid
"""