mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-06 23:15:08 -04:00
examples: Fix the wasm bot example.
This commit is contained in:
@@ -54,7 +54,7 @@ pub async fn run() -> Result<JsValue, JsValue> {
|
||||
|
||||
let client_config = ClientConfig::new();
|
||||
let homeserver_url = Url::parse(&homeserver_url).unwrap();
|
||||
let client = Client::new_with_config(homeserver_url, None, client_config).unwrap();
|
||||
let client = Client::new_with_config(homeserver_url, client_config).unwrap();
|
||||
|
||||
client
|
||||
.login(username, password, None, Some("rust-sdk-wasm"))
|
||||
|
||||
Reference in New Issue
Block a user