From 72b2a1d5c51d1c73c44faf16a2d45760a0e7bc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 9 Aug 2023 10:44:59 +0200 Subject: [PATCH] fixup! Initial support for dehydrated devices --- crates/matrix-sdk-crypto/src/dehydrated_devices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk-crypto/src/dehydrated_devices.rs b/crates/matrix-sdk-crypto/src/dehydrated_devices.rs index 9424b4a809d..bdbdd632125 100644 --- a/crates/matrix-sdk-crypto/src/dehydrated_devices.rs +++ b/crates/matrix-sdk-crypto/src/dehydrated_devices.rs @@ -229,7 +229,7 @@ impl RehydratedDevice { // Let us first give the events to the rehydrated device, this will decrypt any // encrypted to-device events and fetch out the room keys. - let (_, changes) = self.rehydrated.receive_sync_changes_helper(sync_changes).await?; + let (_, changes) = self.rehydrated.preprocess_sync_changes(sync_changes).await?; // Now take the room keys and persist them in our original `OlmMachine`. let room_keys = &changes.inbound_group_sessions;