diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-07-19 11:15:10 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-07-19 11:15:10 +0100 |
commit | 9e40834f742d95c324183f3e71ae73aafe3c6a99 (patch) | |
tree | a2ccf5ec105328b3e822bde3ec2cbdeffa9346cc /synapse/storage/devices.py | |
parent | spell out that include_deleted_devices requires include_all_devices (diff) | |
download | synapse-9e40834f742d95c324183f3e71ae73aafe3c6a99.tar.xz |
yes, we do need to invalidate the device_id_exists_cache when deleting a remote device
Diffstat (limited to 'synapse/storage/devices.py')
-rw-r--r-- | synapse/storage/devices.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py index 203f50f07d..cc3cdf2ebc 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py @@ -258,7 +258,6 @@ class DeviceStore(SQLBaseStore): }, ) - # Do we need this? txn.call_after( self.device_id_exists_cache.invalidate, (user_id, device_id,) ) |