Skip to content

Commit 31c8285

Browse files
committed
fixup! Initial support for dehydrated devices
1 parent 30d1cf2 commit 31c8285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk-crypto/src/dehydrated_devices.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl RehydratedDevice {
229229

230230
// Let us first give the events to the rehydrated device, this will decrypt any
231231
// encrypted to-device events and fetch out the room keys.
232-
let (_, changes) = self.rehydrated.receive_sync_changes_helper(sync_changes).await?;
232+
let (_, changes) = self.rehydrated.preprocess_sync_changes(sync_changes).await?;
233233

234234
// Now take the room keys and persist them in our original `OlmMachine`.
235235
let room_keys = &changes.inbound_group_sessions;

0 commit comments

Comments
 (0)