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

Add support for matrix-federation:// scheme to be compatible with new versions of Synapse #5

Merged
merged 10 commits into from
Jan 15, 2025

Conversation

MadLittleMods
Copy link
Contributor

@MadLittleMods MadLittleMods commented Dec 20, 2024

Synapse switched from a matrix:// to matrix-federation:// scheme for internal Synapse routing of outbound federation traffic in matrix-org/synapse#15806 which was first included in Synapse 1.87.0rc1 (2023-06-27).

We're adding support for matrix-federation:// in addition to the old matrix:// scheme.

The original set of changes are from @reivilibre's fork that I am trying to upstream. They have been tested and working in the Secure Border Gateway product from Element.

@anoadragon453
Copy link
Contributor

cc @erikjohnston to review

@erikjohnston
Copy link
Owner

The tests need fixing, and I'd be minded to keep support for matrix for now, just to ease any concerns around changing it.

@MadLittleMods MadLittleMods changed the title Update scheme from matrix:// to matrix-federation:// to be compatible with new versions of Synapse Add support for matrix-federation:// scheme to be compatible with new versions of Synapse Jan 14, 2025
@MadLittleMods
Copy link
Contributor Author

@erikjohnston Fixed tests and updated to support both matrix:// and matrix-federation://

@erikjohnston erikjohnston merged commit 2bd8305 into erikjohnston:main Jan 15, 2025
3 checks passed
@MadLittleMods
Copy link
Contributor Author

Thanks for the review and merge @erikjohnston 🦌

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.

4 participants