examples: Don't use a proxy for the emoji example.

master
Damir Jelić 2020-08-03 14:59:03 +02:00
parent 3245fbb1c9
commit a3bb8a0d74
1 changed files with 1 additions and 3 deletions

View File

@ -39,9 +39,7 @@ async fn login(
username: String, username: String,
password: String, password: String,
) -> Result<(), matrix_sdk::Error> { ) -> Result<(), matrix_sdk::Error> {
let client_config = ClientConfig::new() let client_config = ClientConfig::new();
.proxy("http://localhost:8080")?
.disable_ssl_verification();
let homeserver_url = Url::parse(&homeserver_url).expect("Couldn't parse the homeserver URL"); 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(); let client = Client::new_with_config(homeserver_url, client_config).unwrap();