diff options
author | Eric Eastwood <erice@element.io> | 2023-06-20 04:05:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-20 10:05:31 +0100 |
commit | 887fa4b66b038c886634a3eef92af108e391be34 (patch) | |
tree | 04d0651c33df97f1ea40822e4c9c15e7420a1297 /scripts-dev | |
parent | Bump ijson from 3.2.0.post0 to 3.2.1 (#15802) (diff) | |
download | synapse-887fa4b66b038c886634a3eef92af108e391be34.tar.xz |
Switch from `matrix://` to `matrix-federation://` scheme for internal Synapse routing of outbound federation traffic (#15806)
`matrix://` is a registered specced scheme nowadays and doesn't make sense for our internal to Synapse use case anymore. ([discussion] (https://github.com/matrix-org/synapse/pull/15773#discussion_r1227598679))
Diffstat (limited to 'scripts-dev')
-rwxr-xr-x | scripts-dev/federation_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts-dev/federation_client.py b/scripts-dev/federation_client.py index b1d5e2e616..63f0b25ddd 100755 --- a/scripts-dev/federation_client.py +++ b/scripts-dev/federation_client.py @@ -136,11 +136,11 @@ def request( authorization_headers.append(header) print("Authorization: %s" % header, file=sys.stderr) - dest = "matrix://%s%s" % (destination, path) + dest = "matrix-federation://%s%s" % (destination, path) print("Requesting %s" % dest, file=sys.stderr) s = requests.Session() - s.mount("matrix://", MatrixConnectionAdapter()) + s.mount("matrix-federation://", MatrixConnectionAdapter()) headers: Dict[str, str] = { "Authorization": authorization_headers[0], |