mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
Properly invalidate get_thread_id cache. (#14163)
This was missed in 2b6d41ebd6
(#13824).
This commit is contained in:
parent
2019b60f3b
commit
9ff4155f6c
2 changed files with 2 additions and 0 deletions
1
changelog.d/14163.feature
Normal file
1
changelog.d/14163.feature
Normal file
|
@ -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 a new issue