MatrixSynapse/synapse
Mathieu Velten 6cddf24e36
Faster joins: don't stall when a user joins during a fast join (#14606)
Fixes #12801.
Complement tests are at
https://github.com/matrix-org/complement/pull/567.

Avoid blocking on full state when handling a subsequent join into a
partial state room.

Also always perform a remote join into partial state rooms, since we do
not know whether the joining user has been banned and want to avoid
leaking history to banned users.

Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
Co-authored-by: Sean Quah <seanq@matrix.org>
Co-authored-by: David Robertson <davidr@element.io>
2023-02-10 23:31:05 +00:00
..
_scripts
api Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
app Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
appservice
config Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
crypto
events Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
federation Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
handlers Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
http
logging
metrics
module_api
push Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
replication
res
rest
server_notices
spam_checker_api
state Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
static
storage Faster joins: don't stall when a user joins during a fast join (#14606) 2023-02-10 23:31:05 +00:00
streams
types
util
__init__.py
event_auth.py
notifier.py
py.typed
server.py
visibility.py