Skip to content

Fix 'Federation rejects inbound events where the prev_events cannot be found'#1067

Merged
erikjohnston merged 1 commit intodevelopfrom
erikj/fix_fed
Jul 9, 2021
Merged

Fix 'Federation rejects inbound events where the prev_events cannot be found'#1067
erikjohnston merged 1 commit intodevelopfrom
erikj/fix_fed

Conversation

@erikjohnston
Copy link
Member

We can't assume that homeservers will process inbound federation events synchronously.

In this particular case we replace the check for errors in /send response with a check that if we send a new event that references the expected rejected event we'll see a request for that event come in.

c.f. matrix-org/synapse#10275

@erikjohnston erikjohnston requested a review from a team July 9, 2021 12:22
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

@erikjohnston erikjohnston merged commit 530fd2b into develop Jul 9, 2021
@erikjohnston erikjohnston deleted the erikj/fix_fed branch July 9, 2021 15:30
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