Fix cache invalidation calls

This commit is contained in:
Brendan Abolivier 2020-07-31 13:58:42 +01:00
parent 713d70d6c6
commit 79d991eff0
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD
2 changed files with 2 additions and 2 deletions

View file

@ -768,7 +768,7 @@ class PushRuleStore(PushRulesWorkerStore):
self.db.simple_insert_txn(txn, "push_rules_stream", values=values)
txn.call_after(self.get_push_rules_for_user.invalidate, (user_id,))
txn.call_after(self._get_push_rules_for_user.invalidate, (user_id,))
txn.call_after(self.get_push_rules_enabled_for_user.invalidate, (user_id,))
txn.call_after(
self.push_rules_stream_cache.entity_has_changed, user_id, stream_id