Skip to content
Snippets Groups Projects
  1. Feb 14, 2017
    • Richard van der Hoff's avatar
      Fix bugs in the /keys/changes api · fc2f29c1
      Richard van der Hoff authored
      * `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.
      fc2f29c1
  2. Feb 13, 2017
  3. Feb 12, 2017
  4. Feb 09, 2017
  5. Feb 08, 2017
  6. Feb 06, 2017
  7. Feb 04, 2017
  8. Feb 02, 2017
Loading