Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make handleGetMissingEventsRequests more general #428

Merged
merged 1 commit into from
Jul 26, 2022

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
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