diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-23 09:46:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-23 09:46:59 +0100 |
commit | 8cf9f0a3e7073f4e8bdddf81d4599f9a9ca7e978 (patch) | |
tree | aa9eab6fb53c439ed820e96b7af804d258d7df51 | |
parent | Missed an invalidation (diff) | |
download | synapse-8cf9f0a3e7073f4e8bdddf81d4599f9a9ca7e978.tar.xz |
Remove redundant invalidation
-rw-r--r-- | synapse/storage/end_to_end_keys.py | 3 |
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,) ) |