Rename reqwest clients, mention cheap client clones in comment

This commit is contained in:
Aode (lion) 2022-01-28 12:42:47 -06:00
parent 1059f35fdc
commit b39ddf7be9
4 changed files with 16 additions and 16 deletions

View file

@ -237,7 +237,7 @@ where
let url = reqwest_request.url().clone();
let response = globals.well_known_client().execute(reqwest_request).await;
let response = globals.federation_client().execute(reqwest_request).await;
match response {
Ok(mut response) => {
@ -477,7 +477,7 @@ async fn request_well_known(
) -> Option<String> {
let body: serde_json::Value = serde_json::from_str(
&globals
.reqwest_client()
.default_client()
.get(&format!(
"https://{}/.well-known/matrix/server",
destination