mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 17:44:20 -05:00
Properly invalidate get_thread_id cache. (#14163)
This was missed in 2b6d41ebd6
(#13824).
This commit is contained in:
parent
2019b60f3b
commit
9ff4155f6c
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.
|
||||
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_thread_id", (redacts,))
|
||||
|
||||
if etype == EventTypes.Member:
|
||||
self._membership_stream_cache.entity_has_changed(state_key, stream_ordering)
|
||||
|
Loading…
Reference in New Issue
Block a user