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
..
2016-04-07 16:52:07 +01:00
2016-07-22 13:21:07 +01:00
2017-01-10 15:15:25 +00:00
2017-02-08 16:04:29 +00:00
2016-11-23 15:59:59 +00:00
2017-02-13 13:50:03 +00:00
2016-11-04 10:53:42 +00:00
2016-12-08 12:11:34 +00:00
2016-01-07 04:26:29 +00:00
2016-11-03 15:04:32 +00:00
2016-08-19 14:17:11 +01:00
2017-02-14 13:59:50 +00:00
2017-02-01 17:52:57 +00:00
2016-11-22 18:18:31 +00:00