synapse-product/synapse/storage/databases
Patrick Cloke 80e0e1f35e
Only fetch thread participation for events with threads. (#12228)
We fetch the thread summary in two phases:

1. The summary that is shared by all users (count of messages and latest event).
2. Whether the requesting user has participated in the thread.

There's no use in attempting step 2 for events which did not return a summary
from step 1.
2022-03-18 17:15:45 +00:00
..
main Only fetch thread participation for events with threads. (#12228) 2022-03-18 17:15:45 +00:00
state Back out in-flight state caching changes. (#12126) 2022-03-02 10:37:04 +00:00
__init__.py Ensure that get_datastores().main is typed (#12070) 2022-02-25 10:20:40 +00:00