Skip to content

Test that knocks and invite rejections are sent out correctly over federation #131

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

Merged
merged 8 commits into from
Jul 12, 2021

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jun 21, 2021

This is a regression test for matrix-org/synapse#10222, and also extends the knock tests to ensure we don't do the same thing there.

This needed a bit of groundwork in the test library, as well as requiring that gomatrixserverlib support room v7, so is dependent on matrix-org/gomatrixserverlib#263.

... useful if you want to receive federation invite requests
@richvdh richvdh requested a review from a team June 21, 2021 18:31
@richvdh richvdh force-pushed the rav/send_leave_federation branch from ee4f87f to 03eb7c0 Compare June 21, 2021 18:49
@richvdh richvdh removed the request for review from a team June 23, 2021 13:45
@richvdh
Copy link
Member Author

richvdh commented Jun 23, 2021

this is failing in GHA because matrix-synapse:latest doesn't yet include matrix-org/synapse#10223.

@richvdh richvdh requested a review from a team June 23, 2021 17:41
@richvdh richvdh requested a review from kegsay June 24, 2021 15:13
Copy link
Member

@kegsay kegsay left a comment

Choose a reason for hiding this comment

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

There's a bunch of functions on Event which are generally useful, specifically Sign() and StateKeyEquals() for this PR. For Sign(), the complement server exposes the fields you need

Priv ed25519.PrivateKey

@richvdh
Copy link
Member Author

richvdh commented Jul 9, 2021

this is failing in GHA because matrix-synapse:latest doesn't yet include matrix-org/synapse#10223.

This is still the case: matrix-org/synapse#10223 is in Synapse 1.38.0 which is still in RC. I've confirmed the tests pass against 1.38.0rc1.

@richvdh richvdh requested a review from kegsay July 9, 2021 11:41
@richvdh
Copy link
Member Author

richvdh commented Jul 9, 2021

@anoadragon453 @kegsay thanks for the feedback - PTAL?

@richvdh richvdh merged commit e354e62 into master Jul 12, 2021
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.

3 participants