-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
... useful if you want to receive federation invite requests
ee4f87f
to
03eb7c0
Compare
03eb7c0
to
11b06da
Compare
this is failing in GHA because |
There was a problem hiding this 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
complement/internal/federation/server.go
Line 38 in 63b6c63
Priv ed25519.PrivateKey |
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. |
@anoadragon453 @kegsay thanks for the feedback - PTAL? |
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.