diff --git a/Cargo.lock b/Cargo.lock index c51c4ef..201aaac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -826,7 +826,7 @@ dependencies = [ [[package]] name = "matrix-sdk-common" version = "0.7.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#5d46b35d95a4e4255d6c1f2f8684ca7f0bd7bfa6" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" dependencies = [ "async-trait", "futures-core", @@ -847,14 +847,13 @@ dependencies = [ [[package]] name = "matrix-sdk-crypto" version = "0.7.2" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#5d46b35d95a4e4255d6c1f2f8684ca7f0bd7bfa6" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" dependencies = [ "aes", "as_variant", "async-trait", "bs58", "byteorder", - "cbc", "cfg-if", "ctr", "eyeball", @@ -914,7 +913,7 @@ dependencies = [ [[package]] name = "matrix-sdk-indexeddb" version = "0.7.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#5d46b35d95a4e4255d6c1f2f8684ca7f0bd7bfa6" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" dependencies = [ "anyhow", "async-trait", @@ -942,7 +941,7 @@ dependencies = [ [[package]] name = "matrix-sdk-qrcode" version = "0.7.1" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#5d46b35d95a4e4255d6c1f2f8684ca7f0bd7bfa6" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" dependencies = [ "byteorder", "qrcode", @@ -954,7 +953,7 @@ dependencies = [ [[package]] name = "matrix-sdk-store-encryption" version = "0.7.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#5d46b35d95a4e4255d6c1f2f8684ca7f0bd7bfa6" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" dependencies = [ "base64", "blake3", @@ -1302,7 +1301,7 @@ dependencies = [ [[package]] name = "ruma" version = "0.10.1" -source = "git+https://github.com/ruma/ruma?rev=1ae98db9c44f46a590f4c76baf5cef70ebb6970d#1ae98db9c44f46a590f4c76baf5cef70ebb6970d" +source = "git+https://github.com/ruma/ruma?rev=26165b23fc2ae9928c5497a21db3d31f4b44cc2a#26165b23fc2ae9928c5497a21db3d31f4b44cc2a" dependencies = [ "assign", "js_int", @@ -1316,7 +1315,7 @@ dependencies = [ [[package]] name = "ruma-client-api" version = "0.18.0" -source = "git+https://github.com/ruma/ruma?rev=1ae98db9c44f46a590f4c76baf5cef70ebb6970d#1ae98db9c44f46a590f4c76baf5cef70ebb6970d" +source = "git+https://github.com/ruma/ruma?rev=26165b23fc2ae9928c5497a21db3d31f4b44cc2a#26165b23fc2ae9928c5497a21db3d31f4b44cc2a" dependencies = [ "as_variant", "assign", @@ -1339,7 +1338,7 @@ dependencies = [ [[package]] name = "ruma-common" version = "0.13.0" -source = "git+https://github.com/ruma/ruma?rev=1ae98db9c44f46a590f4c76baf5cef70ebb6970d#1ae98db9c44f46a590f4c76baf5cef70ebb6970d" +source = "git+https://github.com/ruma/ruma?rev=26165b23fc2ae9928c5497a21db3d31f4b44cc2a#26165b23fc2ae9928c5497a21db3d31f4b44cc2a" dependencies = [ "as_variant", "base64", @@ -1371,7 +1370,7 @@ dependencies = [ [[package]] name = "ruma-events" version = "0.28.1" -source = "git+https://github.com/ruma/ruma?rev=1ae98db9c44f46a590f4c76baf5cef70ebb6970d#1ae98db9c44f46a590f4c76baf5cef70ebb6970d" +source = "git+https://github.com/ruma/ruma?rev=26165b23fc2ae9928c5497a21db3d31f4b44cc2a#26165b23fc2ae9928c5497a21db3d31f4b44cc2a" dependencies = [ "as_variant", "indexmap", @@ -1394,7 +1393,7 @@ dependencies = [ [[package]] name = "ruma-identifiers-validation" version = "0.9.5" -source = "git+https://github.com/ruma/ruma?rev=1ae98db9c44f46a590f4c76baf5cef70ebb6970d#1ae98db9c44f46a590f4c76baf5cef70ebb6970d" +source = "git+https://github.com/ruma/ruma?rev=26165b23fc2ae9928c5497a21db3d31f4b44cc2a#26165b23fc2ae9928c5497a21db3d31f4b44cc2a" dependencies = [ "js_int", "thiserror", @@ -1403,7 +1402,7 @@ dependencies = [ [[package]] name = "ruma-macros" version = "0.13.0" -source = "git+https://github.com/ruma/ruma?rev=1ae98db9c44f46a590f4c76baf5cef70ebb6970d#1ae98db9c44f46a590f4c76baf5cef70ebb6970d" +source = "git+https://github.com/ruma/ruma?rev=26165b23fc2ae9928c5497a21db3d31f4b44cc2a#26165b23fc2ae9928c5497a21db3d31f4b44cc2a" dependencies = [ "cfg-if", "once_cell", @@ -1941,8 +1940,9 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vodozemac" -version = "0.7.0" -source = "git+https://github.com/matrix-org/vodozemac?rev=57cbf7e939d7b54d20207e8361b7135bd65c9cc2#57cbf7e939d7b54d20207e8361b7135bd65c9cc2" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd4b56780b7827dd72c3c6398c3048752bebf8d1d84ec19b606b15dbc3c850b8" dependencies = [ "aes", "arrayvec", diff --git a/src/responses.rs b/src/responses.rs index 58db388..3f0a89e 100644 --- a/src/responses.rs +++ b/src/responses.rs @@ -213,8 +213,8 @@ impl DecryptedRoomEvent { impl From for DecryptedRoomEvent { fn from(value: matrix_sdk_common::deserialized_responses::TimelineEvent) -> Self { Self { - event: value.event.json().get().to_owned().into(), - encryption_info: value.encryption_info.map(|e| e.into()), + event: value.raw().json().get().to_owned().into(), + encryption_info: value.encryption_info().map(|e| e.clone().into()), } } }