mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-06-19 15:44:11 -04:00
Accept threaded receipts for events related to the root event. (#14174)
The root node of a thread (and events related to it) are considered "part of a thread" when validating receipts. This allows clients which show the root node in both the main timeline and the threaded timeline to easily send receipts in either. Note that threaded notifications are not created for these events, these events created notifications on the main timeline.
This commit is contained in:
parent
022f25b309
commit
d1bdeccb50
5 changed files with 247 additions and 8 deletions
|
@ -245,6 +245,7 @@ class CacheInvalidationWorkerStore(SQLBaseStore):
|
|||
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,))
|
||||
self._attempt_to_invalidate_cache("get_thread_id_for_receipts", (redacts,))
|
||||
|
||||
if etype == EventTypes.Member:
|
||||
self._membership_stream_cache.entity_has_changed(state_key, stream_ordering)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue