forked-synapse/synapse/rest/client
Erik Johnston be4a16ff44
Sliding Sync: Track whether we have sent rooms down to clients (#17447)
The basic idea is that we introduce a new token for a sliding sync
connection, which stores the mapping of room to room "status" (i.e. have
we sent the room down?). This token allows us to handle duplicate
requests properly. In future it can be used to store more
"per-connection" information safely.

In future this should be migrated into the DB, so its important that we
try to reduce the number of syncs where we need to update the
per-connection information. In this PoC this only happens when we: a)
send down a set of room for the first time, or b) we have previously
sent down a room and there are updates but we are not sending the room
down the sync (due to not falling in a list range)

Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
2024-07-29 22:45:48 +01:00
..
__init__.py
_base.py
account_data.py
account_validity.py
account.py Reorganize Pydantic models and types used in handlers (#17279) 2024-06-10 15:03:50 -05:00
appservice_ping.py
auth_issuer.py
auth.py
capabilities.py
devices.py Reorganize Pydantic models and types used in handlers (#17279) 2024-06-10 15:03:50 -05:00
directory.py Reorganize Pydantic models and types used in handlers (#17279) 2024-06-10 15:03:50 -05:00
events.py
filter.py
initial_sync.py
keys.py Sliding Sync: Add E2EE extension (MSC3884) (#17454) 2024-07-22 15:40:06 -05:00
knock.py Add support for via query parameter from MSC4156 (#17322) 2024-06-18 10:03:39 +00:00
login_token_request.py
login.py
logout.py
media.py Support MSC3916 by adding a federation /thumbnail endpoint and authenticated _matrix/client/v1/media/thumbnail endpoint (#17388) 2024-07-08 10:11:20 +01:00
mutual_rooms.py
notifications.py Require the 'from' parameter for /notifications be an integer (#17283) 2024-06-19 10:05:39 +01:00
openid.py
password_policy.py
presence.py
profile.py Add support for MSC3823 - Account Suspension Part 2 (#17255) 2024-06-24 14:21:22 +01:00
push_rule.py
pusher.py Finish up work to allow per-user feature flags (#17392) 2024-07-05 13:02:35 +01:00
read_marker.py
receipts.py
register.py
relations.py
rendezvous.py
reporting.py Clarify that MSC4151 is enabled on matrix.org (#17296) 2024-06-13 13:49:00 +00:00
room_keys.py
room_upgrade_rest_servlet.py
room.py Add support for MSC3823 - Account Suspension Part 2 (#17255) 2024-06-24 14:21:22 +01:00
sendtodevice.py
sync.py Sliding Sync: Track whether we have sent rooms down to clients (#17447) 2024-07-29 22:45:48 +01:00
tags.py
thirdparty.py
tokenrefresh.py
transactions.py
user_directory.py
versions.py Fix /versions requests (#17410) 2024-07-09 10:25:44 +01:00
voip.py