minor clippy fixes

This commit is contained in:
Benjamin Kampmann
2021-11-18 13:54:24 +01:00
parent b16c660258
commit 3fcfe98de2
2 changed files with 2 additions and 2 deletions

View File

@@ -333,7 +333,7 @@ impl AppService {
};
let client =
Client::new_with_config(self.homeserver_url.clone(), config.appservice_mode())?;
Client::new_with_config(self.homeserver_url.clone(), config.appservice_mode()).await?;
let session = Session {
access_token: self.registration.as_token.clone(),

View File

@@ -275,7 +275,7 @@ impl BaseClient {
#[cfg(feature = "encryption")]
cryptostore: Mutex::new(crypto_store).into(),
#[cfg(feature = "sled_cryptostore")]
store_path: config.store_path.into(),
store_path: config.store_path,
#[cfg(feature = "sled_cryptostore")]
store_passphrase: config.passphrase.into(),
})