Skip to content

Commit

Permalink
fixup! Initial support for dehydrated devices
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Aug 9, 2023
1 parent 404ce56 commit 72b2a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix-sdk-crypto/src/dehydrated_devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 72b2a1d

Please sign in to comment.