mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 02:05:24 +00:00
![]() The race happens when the user joins a room at the same time as doing a sync. We fetch the current token and then get the rooms the user is in. If the join happens after the current token, but before we get the rooms we end up sending down a partial room entry in the sync. This is fixed by looking at the stream ordering of the membership returned by get_rooms_for_user, and handling the case when that stream ordering is after the current token. |
||
---|---|---|
.. | ||
engines | ||
schema | ||
util | ||
__init__.py | ||
_base.py | ||
account_data.py | ||
appservice.py | ||
background_updates.py | ||
client_ips.py | ||
deviceinbox.py | ||
devices.py | ||
directory.py | ||
end_to_end_keys.py | ||
event_federation.py | ||
event_push_actions.py | ||
events_worker.py | ||
events.py | ||
filtering.py | ||
group_server.py | ||
keys.py | ||
media_repository.py | ||
openid.py | ||
prepare_database.py | ||
presence.py | ||
profile.py | ||
push_rule.py | ||
pusher.py | ||
receipts.py | ||
registration.py | ||
rejections.py | ||
room.py | ||
roommember.py | ||
search.py | ||
signatures.py | ||
state.py | ||
stream.py | ||
tags.py | ||
transactions.py | ||
user_directory.py |