diff options
author | Erik Johnston <erikj@element.io> | 2024-08-29 16:22:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 16:22:57 +0100 |
commit | 2999a14aed298ad4358e280fa9938010f1edd0d7 (patch) | |
tree | 396866b89720c444313e11d6badec4dedcb86484 /scripts-dev/mypy_synapse_plugin.py | |
parent | Sliding Sync: Pre-populate room data for quick filtering/sorting (#17512) (diff) | |
download | synapse-2999a14aed298ad4358e280fa9938010f1edd0d7.tar.xz |
Sliding Sync: Make `PerConnectionState` immutable (#17600)
This is so that we can cache it. We also move the sliding sync types to `synapse/types/handlers/sliding_sync.py`. This is mainly in-prep for #17599 to avoid circular imports. The only change in behaviour is that `RoomSyncConfig.combine_sync_config(..)` now returns a new room sync config rather than mutating in-place. Reviewable commit-by-commit. --------- Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
Diffstat (limited to 'scripts-dev/mypy_synapse_plugin.py')
-rw-r--r-- | scripts-dev/mypy_synapse_plugin.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/scripts-dev/mypy_synapse_plugin.py b/scripts-dev/mypy_synapse_plugin.py |