summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-23 09:36:52 +0100
committerErik Johnston <erik@matrix.org>2017-05-23 09:36:52 +0100
commite6618ece2d7fa857e9649584483e20d2e0a82a81 (patch)
treec18899f770181bfa780c25fda91f9cd6feb16005
parentAdd missing storage function to slave store (diff)
downloadsynapse-e6618ece2d7fa857e9649584483e20d2e0a82a81.tar.xz
Missed an invalidation
-rw-r--r--synapse/storage/end_to_end_keys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/end_to_end_keys.py b/synapse/storage/end_to_end_keys.py
index ad170c951e..f3e5331fde 100644
--- a/synapse/storage/end_to_end_keys.py
+++ b/synapse/storage/end_to_end_keys.py
@@ -240,6 +240,9 @@ class EndToEndKeyStore(SQLBaseStore):
                 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,)
+                )
             return result
         return self.runInteraction(
             "claim_e2e_one_time_keys", _claim_e2e_one_time_keys