Correct var name

This commit is contained in:
Andrew Morgan 2019-03-13 21:21:03 +00:00
parent b2df0e8e2c
commit ecea5af491
2 changed files with 56 additions and 2 deletions

View file

@ -238,10 +238,10 @@ class MatrixFederationHttpClient(object):
# Enable backoff if initially disabled
send_request_args["backoff_on_404"] = backoff_on_404
send_request_args["path"] += "/"
# Add trailing slash
send_request_args["request"].path += "/"
response = yield self._send_request(**send_request_args)
body = yield _handle_json_response(
self.hs.get_reactor(), self.default_timeout, request, response,
)