synapse-product/synapse
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
..
_scripts Move synctl into synapse._scripts and expose as an entrypoint (#12140) 2022-03-04 11:58:49 +00:00
api Support stable identifiers for MSC3440: Threading (#12151) 2022-03-10 15:36:13 +00:00
app Deprecate the groups/communities endpoints and add an experimental configuration flag. (#12200) 2022-03-12 13:23:37 -05:00
appservice Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
config Fix dead link in spam checker warning (#12231) 2022-03-16 13:52:59 +00:00
crypto Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
events Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
federation Deprecate the groups/communities endpoints and add an experimental configuration flag. (#12200) 2022-03-12 13:23:37 -05:00
groups Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
handlers Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
http Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
logging Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
metrics Use version string helper from matrix-common (#11979) 2022-02-14 13:12:22 +00:00
module_api Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
push Use the ignored_users table to test event visibility & sync. (#12225) 2022-03-15 14:06:05 -04:00
replication Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00
res Update the SSO username picker template to comply with SIWA guidelines (#12210) 2022-03-11 13:20:00 +00:00
rest Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
server_notices Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Fix type of events in StateGroupStorage and StateHandler (#12156) 2022-03-04 10:25:18 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Only fetch thread participation for events with threads. (#12228) 2022-03-18 17:15:45 +00:00
streams Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
util Add cancellation support to @cached and @cachedList decorators (#12183) 2022-03-14 19:04:29 +00:00
__init__.py 1.55.0rc1 2022-03-15 11:00:01 +00:00
event_auth.py Remove excess condition on knock->leave check (#11900) 2022-02-22 18:35:01 +00:00
notifier.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Use ParamSpec in type hints for synapse.logging.context (#12150) 2022-03-08 15:58:14 +00:00
server.py Add a relations handler to avoid duplication. (#12227) 2022-03-16 10:39:15 -04:00
types.py Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
visibility.py Use the ignored_users table to test event visibility & sync. (#12225) 2022-03-15 14:06:05 -04:00