Properly invalidate get_thread_id cache. (#14163)
This was missed in 2b6d41ebd6
(#13824).
This commit is contained in:
parent
2019b60f3b
commit
9ff4155f6c
|
@ -0,0 +1 @@
|
||||||
|
Support for thread-specific notifications & receipts ([MSC3771](https://github.com/matrix-org/matrix-spec-proposals/pull/3771) and [MSC3773](https://github.com/matrix-org/matrix-spec-proposals/pull/3773)).
|
|
@ -244,6 +244,7 @@ class CacheInvalidationWorkerStore(SQLBaseStore):
|
||||||
# redacted.
|
# redacted.
|
||||||
self._attempt_to_invalidate_cache("get_relations_for_event", (redacts,))
|
self._attempt_to_invalidate_cache("get_relations_for_event", (redacts,))
|
||||||
self._attempt_to_invalidate_cache("get_applicable_edit", (redacts,))
|
self._attempt_to_invalidate_cache("get_applicable_edit", (redacts,))
|
||||||
|
self._attempt_to_invalidate_cache("get_thread_id", (redacts,))
|
||||||
|
|
||||||
if etype == EventTypes.Member:
|
if etype == EventTypes.Member:
|
||||||
self._membership_stream_cache.entity_has_changed(state_key, stream_ordering)
|
self._membership_stream_cache.entity_has_changed(state_key, stream_ordering)
|
||||||
|
|
Loading…
Reference in New Issue