summary refs log tree commit diff
path: root/synapse/util/async_helpers.py
diff options
context:
space:
mode:
authorEric Eastwood <eric.eastwood@beta.gouv.fr>2024-08-13 12:27:42 -0500
committerGitHub <noreply@github.com>2024-08-13 12:27:42 -0500
commita308d99f30d7e660115e355c54c37ac149cdbe53 (patch)
tree1342c911a707440fc27b2cb5f17e4f593d88c894 /synapse/util/async_helpers.py
parentUse a larger, dedicated threadpool for media sending (#17564) (diff)
downloadsynapse-a308d99f30d7e660115e355c54c37ac149cdbe53.tar.xz
Sliding Sync: Exclude partially stated rooms if we must await full state (#17538)
Previously, we just had very basic partial room exclusion based on
whether we were lazy-loading room members. Now with this PR, we added
`must_await_full_state(...)` with rules to check if we have a we're only
requesting `required_state` which is completely satisfied even with
partial state.

Partially-stated rooms should have all state events except for remote
membership events so if we require a remote membership event anywhere,
then we need to return `True`.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions