From b8a9e05ebb22a2d62954dd797355eb067aba07f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 22 May 2020 16:19:30 +0200 Subject: [PATCH] examples: Fix the wasm bot example. --- matrix_sdk/examples/wasm_command_bot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk/examples/wasm_command_bot/src/lib.rs b/matrix_sdk/examples/wasm_command_bot/src/lib.rs index 3b1cf231..34b0a58e 100644 --- a/matrix_sdk/examples/wasm_command_bot/src/lib.rs +++ b/matrix_sdk/examples/wasm_command_bot/src/lib.rs @@ -54,7 +54,7 @@ pub async fn run() -> Result { 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"))