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-01-07 04:26:29 +00:00
2017-02-02 10:53:36 +00:00
2017-02-14 13:59:50 +00:00
2016-11-16 14:47:52 +00:00
2016-12-07 09:58:33 +00:00
2017-01-30 17:11:24 +00:00
2016-06-30 17:51:28 +01:00
2017-02-13 13:50:03 +00:00
2016-12-08 12:13:01 +00:00
2017-02-02 10:53:36 +00:00
2016-12-16 16:11:43 +00:00
2017-01-11 10:57:03 +00:00
2017-02-02 18:36:17 +00:00
2016-11-16 14:47:52 +00:00