forked from MirrorHub/synapse
Remove redundant invalidation
This commit is contained in:
parent
e6618ece2d
commit
8cf9f0a3e7
1 changed files with 0 additions and 3 deletions
|
@ -237,9 +237,6 @@ class EndToEndKeyStore(SQLBaseStore):
|
||||||
)
|
)
|
||||||
for user_id, device_id, algorithm, key_id in delete:
|
for user_id, device_id, algorithm, key_id in delete:
|
||||||
txn.execute(sql, (user_id, device_id, algorithm, key_id))
|
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(
|
self._invalidate_cache_and_stream(
|
||||||
txn, self.count_e2e_one_time_keys, (user_id, device_id,)
|
txn, self.count_e2e_one_time_keys, (user_id, device_id,)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue