summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-23 09:46:59 +0100
committerErik Johnston <erik@matrix.org>2017-05-23 09:46:59 +0100
commit8cf9f0a3e7073f4e8bdddf81d4599f9a9ca7e978 (patch)
treeaa9eab6fb53c439ed820e96b7af804d258d7df51 /synapse
parentMissed an invalidation (diff)
downloadsynapse-8cf9f0a3e7073f4e8bdddf81d4599f9a9ca7e978.tar.xz
Remove redundant invalidation
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/end_to_end_keys.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/end_to_end_keys.py b/synapse/storage/end_to_end_keys.py
index f3e5331fde..2cebb203c6 100644
--- a/synapse/storage/end_to_end_keys.py
+++ b/synapse/storage/end_to_end_keys.py
@@ -237,9 +237,6 @@ class EndToEndKeyStore(SQLBaseStore):
             )
             for user_id, device_id, algorithm, key_id in delete:
                 txn.execute(sql, (user_id, device_id, algorithm, key_id))
-                txn.call_after(
-                    self.count_e2e_one_time_keys.invalidate, (user_id, device_id,)
-                )
                 self._invalidate_cache_and_stream(
                     txn, self.count_e2e_one_time_keys, (user_id, device_id,)
                 )