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
..
2017-02-11 23:02:57 -08:00
2016-08-24 11:58:40 +01:00
2017-01-17 13:22:19 +00:00
2017-02-02 10:53:36 +00:00
2017-02-13 13:50:03 +00:00
2017-02-14 13:59:50 +00:00
2017-02-02 14:47:15 +00:00
2017-02-09 10:41:02 +00:00
2017-01-17 14:32:53 +00:00
2016-12-18 23:16:43 +01:00
2017-02-02 10:53:36 +00:00
2016-08-08 16:40:39 +01:00