diff --git a/Cargo.toml b/Cargo.toml index 7e95461..08c1f63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ nonempty = { version = "0.8.1", features = ["serialize"] } signal-hook = "0.3.17" # Matrix -matrix-sdk = { version = "0.6.2", features = ["eyre", "markdown"] } +matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev = "91e7f2f7224b8ada17ab639d60da10dad98aeaf9", features = ["eyre", "markdown"] } # UI crossterm = { version = "0.27.0", features = ["serde", "event-stream"] } diff --git a/src/app.rs b/src/app.rs index d503401..d2772da 100644 --- a/src/app.rs +++ b/src/app.rs @@ -63,6 +63,7 @@ impl App { .await .with_context(|| format!("Could not initialize client for {}", server_name))?; client + .matrix_auth() .login_username(&conf.user_id, &conf.password) .initial_device_display_name(&conf.device_name) .send() @@ -274,7 +275,7 @@ impl App { &self, action_tx: &mpsc::UnboundedSender, client: matrix_sdk::Client, - sync_response: matrix_sdk::deserialized_responses::SyncResponse, + sync_response: matrix_sdk::sync::SyncResponse, ) -> Result<()> { println!("{:?}", sync_response); Ok(())