summary refs log tree commit diff
path: root/synapse/storage/devices.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-07-19 11:15:10 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-07-19 11:15:10 +0100
commit9e40834f742d95c324183f3e71ae73aafe3c6a99 (patch)
treea2ccf5ec105328b3e822bde3ec2cbdeffa9346cc /synapse/storage/devices.py
parentspell out that include_deleted_devices requires include_all_devices (diff)
downloadsynapse-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.py1
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,)
             )