async_client: Fix the user agent.
This commit is contained in:
parent
bc4416e7cd
commit
33ee5cce61
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ impl AsyncClient {
|
|||
|
||||
let user_agent = match config.user_agent {
|
||||
Some(a) => a,
|
||||
None => HeaderValue::from_str(&format!("nio-rust {}", VERSION)).unwrap(),
|
||||
None => HeaderValue::from_str(&format!("matrix-rust-sdk {}", VERSION)).unwrap(),
|
||||
};
|
||||
|
||||
headers.insert(reqwest::header::USER_AGENT, user_agent);
|
||||
|
|
Loading…
Reference in a new issue