rust: Bump the rust-sdk version

This commit is contained in:
Damir Jelić 2021-11-29 15:23:44 +01:00
parent d138306b08
commit 3f2755b67c
2 changed files with 3 additions and 3 deletions

View file

@ -29,11 +29,11 @@ features = ["lax_deserialize"]
[dependencies.matrix-sdk-common] [dependencies.matrix-sdk-common]
git = "https://github.com/matrix-org/matrix-rust-sdk/" git = "https://github.com/matrix-org/matrix-rust-sdk/"
rev = "7b6132b71e499224ed25bdc571b2a54d076551d6" rev = "a628e84b63f6b761af383655e00f544ef6a09082"
[dependencies.matrix-sdk-crypto] [dependencies.matrix-sdk-crypto]
git = "https://github.com/matrix-org/matrix-rust-sdk/" git = "https://github.com/matrix-org/matrix-rust-sdk/"
rev = "7b6132b71e499224ed25bdc571b2a54d076551d6" rev = "a628e84b63f6b761af383655e00f544ef6a09082"
features = ["sled_cryptostore", "qrcode", "backups_v1"] features = ["sled_cryptostore", "qrcode", "backups_v1"]
[dependencies.tokio] [dependencies.tokio]

View file

@ -37,7 +37,7 @@ impl From<InnerDevice> for Device {
.map(|(k, v)| (k.to_string(), v.to_string())) .map(|(k, v)| (k.to_string(), v.to_string()))
.collect(), .collect(),
algorithms: d.algorithms().iter().map(|a| a.to_string()).collect(), algorithms: d.algorithms().iter().map(|a| a.to_string()).collect(),
display_name: d.display_name().clone(), display_name: d.display_name().map(|d| d.to_owned()),
is_blocked: d.is_blacklisted(), is_blocked: d.is_blacklisted(),
locally_trusted: d.is_locally_trusted(), locally_trusted: d.is_locally_trusted(),
cross_signing_trusted: d.is_cross_signing_trusted(), cross_signing_trusted: d.is_cross_signing_trusted(),