Skip to content

Make handleGetMissingEventsRequests more general#428

Merged
richvdh merged 1 commit intomainfrom
rav/cleanup_get_missing_events
Jul 26, 2022
Merged

Make handleGetMissingEventsRequests more general#428
richvdh merged 1 commit intomainfrom
rav/cleanup_get_missing_events

Conversation

@richvdh
Copy link
Member

@richvdh richvdh commented Jul 26, 2022

A few changes:

  • make it check the requested latest_events to check that we are replying to the request we think we are
  • Use the structures in gomatrixserverlib rather than defining our own
  • General cleanups

@richvdh richvdh requested review from a team as code owners July 26, 2022 13:02
A few changes:
 * make it check the requested `latest_events` to check that we are replying to
   the request we think we are
 * Use the structures in `gomatrixserverlib` rather than defining our own
 * General cleanups
@richvdh richvdh force-pushed the rav/cleanup_get_missing_events branch from 50aa422 to bd85d39 Compare July 26, 2022 13:21
Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the serverRoom *federation.ServerRoom -> roomID string change reverted by accident? It looked sensible

Otherwise lgtm

@richvdh
Copy link
Member Author

richvdh commented Jul 26, 2022

Was the serverRoom *federation.ServerRoom -> roomID string change reverted by accident? It looked sensible

I decided it made it match the handleStateRequest things better to leave it as serverRoom.

@richvdh richvdh merged commit 9260467 into main Jul 26, 2022
@richvdh richvdh deleted the rav/cleanup_get_missing_events branch July 26, 2022 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants