Commit 0b6c063808

0b6c0638080cc4215efbfc9f4e9750e325f08d5f

parent: bf5d641856

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-03-14 11:09 UTC

weechat-matrix: Format the repo.

Layout: unified · split

src/commands.rs +1 −1
@@ -248,7 +248,7 @@ Use /matrix [command] help to find out more.\n",
248 ) 248 )
249 .subcommand( 249 .subcommand(
250 SubCommand::with_name("list") 250 SubCommand::with_name("list")
251 .about("List the configured Matrix servers.") 251 .about("List the configured Matrix servers."),
252 ); 252 );
253 253
254 let argparse = Argparse::new("matrix") 254 let argparse = Argparse::new("matrix")
src/server.rs +2 −1
@@ -379,7 +379,8 @@ impl InnerServer {
379 let mut client_config = AsyncClientConfig::new(); 379 let mut client_config = AsyncClientConfig::new();
380 380
381 if let Some(proxy) = &self.settings.proxy { 381 if let Some(proxy) = &self.settings.proxy {
382 client_config = client_config.proxy(proxy.as_str()) 382 client_config = client_config
383 .proxy(proxy.as_str())
383 .unwrap() 384 .unwrap()
384 .disable_ssl_verification(); 385 .disable_ssl_verification();
385 } 386 }