Use the multi-user path even for single users
This is futureproofing: we'll be able to rip out the single-user path laterpull/14716/head
parent
369a97a714
commit
3c68aa4342
|
@ -947,9 +947,7 @@ class DeviceListWorkerUpdater:
|
|||
request:
|
||||
https://matrix.org/docs/spec/server_server/r0.1.2#get-matrix-federation-v1-user-devices-userid
|
||||
"""
|
||||
# mark_failed_as_stale is not sent. Ensure this doesn't break expectations.
|
||||
assert mark_failed_as_stale
|
||||
return await self._user_device_resync_client(user_id=user_id)
|
||||
return (await self.multi_user_device_resync([user_id]))[user_id]
|
||||
|
||||
|
||||
class DeviceListUpdater(DeviceListWorkerUpdater):
|
||||
|
|
Loading…
Reference in New Issue