mirror of
https://mau.dev/maunium/synapse.git
synced 2024-07-07 19:52:23 +00:00
![Patrick Cloke](/assets/img/avatar_default.png)
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.
2 lines
64 B
Plaintext
2 lines
64 B
Plaintext
Avoid mutating a cached value in `get_user_devices_from_cache`.
|