diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 8f7da8f9..8503ae76 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -692,8 +692,7 @@ impl Client { let request = assign!( login::Request::new( - login::UserInfo::MatrixId(user), - login::LoginInfo::Password { password }, + login::LoginInfo::Password { identifier: login::UserIdentifier::MatrixId(user), password }, ), { device_id: device_id.map(|d| d.into()), initial_device_display_name, diff --git a/matrix_sdk_common/Cargo.toml b/matrix_sdk_common/Cargo.toml index daab24e2..f6e54ef7 100644 --- a/matrix_sdk_common/Cargo.toml +++ b/matrix_sdk_common/Cargo.toml @@ -22,7 +22,7 @@ async-trait = "0.1.42" [dependencies.ruma] version = "0.0.2" git = "https://github.com/ruma/ruma" -rev = "c27e66741a8cb0cf5dba45ae3a977f4d6bba715d" +rev = "92ee92ad7eb90b3c80abbd7eb116d886c79bf4fd" features = ["client-api", "compat", "unstable-pre-spec"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]