summary refs log tree commit diff
path: root/scripts-dev/federation_client.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-03-18 20:31:47 +0000
committerGitHub <noreply@github.com>2021-03-18 20:31:47 +0000
commit201178db1aea302d714d6da4dc188e9d103ee474 (patch)
tree3e2366f081ca911185598a8aa7ee1827c1dee86b /scripts-dev/federation_client.py
parentFix type-hints from bad merge. (diff)
downloadsynapse-201178db1aea302d714d6da4dc188e9d103ee474.tar.xz
federation_client: stop adding URL prefix (#9645)
Diffstat (limited to 'scripts-dev/federation_client.py')
-rwxr-xr-xscripts-dev/federation_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts-dev/federation_client.py b/scripts-dev/federation_client.py
index abcec48c4f..657919a0d7 100755
--- a/scripts-dev/federation_client.py
+++ b/scripts-dev/federation_client.py
@@ -223,7 +223,7 @@ def main():
     parser.add_argument("--body", help="Data to send as the body of the HTTP request")
 
     parser.add_argument(
-        "path", help="request path. We will add '/_matrix/federation/v1/' to this."
+        "path", help="request path, including the '/_matrix/federation/...' prefix."
     )
 
     args = parser.parse_args()
@@ -239,7 +239,7 @@ def main():
         args.server_name,
         key,
         args.destination,
-        "/_matrix/federation/v1/" + args.path,
+        args.path,
         content=args.body,
     )