From a3bb8a0d74c799e6aac17f7bdd3f204dd87bc444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 3 Aug 2020 14:59:03 +0200 Subject: [PATCH] examples: Don't use a proxy for the emoji example. --- matrix_sdk/examples/emoji_verification.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/matrix_sdk/examples/emoji_verification.rs b/matrix_sdk/examples/emoji_verification.rs index 89ed66fc..fae1b16c 100644 --- a/matrix_sdk/examples/emoji_verification.rs +++ b/matrix_sdk/examples/emoji_verification.rs @@ -39,9 +39,7 @@ async fn login( username: String, password: String, ) -> Result<(), matrix_sdk::Error> { - let client_config = ClientConfig::new() - .proxy("http://localhost:8080")? - .disable_ssl_verification(); + let client_config = ClientConfig::new(); let homeserver_url = Url::parse(&homeserver_url).expect("Couldn't parse the homeserver URL"); let client = Client::new_with_config(homeserver_url, client_config).unwrap();