mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-21 09:24:18 -05:00
fc2f29c1d0
* `get_forward_extremeties_for_room` takes a numeric `stream_ordering`. We were passing a `RoomStreamToken`, which meant that it returned the *current* extremities, rather than those corresponding to the `from_token`. However: * `get_state_ids_for_events` required a second ('types') parameter; this meant that a `TypeError` was thrown and we ended up acting as though there was *no* prev state. * `get_state_ids_for_events` actually returns a map from event_id to state dictionary - just looking up the state keys in it again meant that we acted as though there was no prev state. We now check if each member's state has changed since *any* of the extremities. Also add/fix some comments. |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
account_data.py | ||
admin.py | ||
appservice.py | ||
auth.py | ||
device.py | ||
devicemessage.py | ||
directory.py | ||
e2e_keys.py | ||
events.py | ||
federation.py | ||
identity.py | ||
initial_sync.py | ||
message.py | ||
presence.py | ||
profile.py | ||
receipts.py | ||
register.py | ||
room_list.py | ||
room_member.py | ||
room.py | ||
search.py | ||
sync.py | ||
typing.py |