synapse-product/synapse
Richard van der Hoff fc2f29c1d0 Fix bugs in the /keys/changes api
* `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.
2017-02-14 13:59:50 +00:00
..
api Remove a few aspirational but unused constants 2017-02-08 11:36:08 +00:00
app Add db functions needed for room initial sync to slave 2017-02-13 11:16:53 +00:00
appservice Rename network_id to instance_id on client side 2016-12-12 16:05:45 +00:00
config Fix typo in config comments. 2017-02-11 23:02:57 -08:00
crypto Preserve some logcontexts 2016-08-24 11:58:40 +01:00
events Optimise state resolution 2017-01-17 13:22:19 +00:00
federation Correctly raise exceptions for ratelimitng. Ratelimit on 401 2017-02-01 15:42:19 +00:00
handlers Fix bugs in the /keys/changes api 2017-02-14 13:59:50 +00:00
http Merge branch 'release-v0.18.6' into develop 2016-12-29 17:33:46 +00:00
metrics Rename the python-specific metrics now the docs claim that we have done 2016-11-03 17:03:52 +00:00
push Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
replication Cache get_presence storage 2017-02-13 13:50:03 +00:00
rest Ordering is important on errbacks so add the cleanup func before creating an ObservableDeferred 2017-02-13 13:49:44 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Fix bugs in the /keys/changes api 2017-02-14 13:59:50 +00:00
streams Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
util Comment 2017-02-02 14:47:15 +00:00
__init__.py Update version and changelog 2017-02-09 10:41:02 +00:00
event_auth.py Use better variable name 2017-01-17 14:32:53 +00:00
notifier.py Make presence.get_new_events a bit faster 2017-02-02 13:07:18 +00:00
python_dependencies.py Bump twisted dependency 2016-12-18 23:16:43 +01:00
server.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Derive current_state_events from state groups 2017-01-20 11:52:51 +00:00
types.py Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00