diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-10 08:09:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 08:09:47 -0500 |
commit | a481fb9f98ad10e5e129bdc7664c59498a7332f6 (patch) | |
tree | 00342e1d3f79dd17f01edacd098831ab1c94864b /UPGRADE.rst | |
parent | Fix exception on start up about device lists (#15041) (diff) | |
download | synapse-a481fb9f98ad10e5e129bdc7664c59498a7332f6.tar.xz |
Refactor get_user_devices_from_cache to avoid mutating cached values. (#15040)
The previous version of the code could mutate a cached value, but only if the input requested all devices of a user *and* a specific device. To avoid this nonsensical situation we no longer fetch a specific device ID if all of a user's devices are returned.
Diffstat (limited to 'UPGRADE.rst')
0 files changed, 0 insertions, 0 deletions