Skip to content

Commit

Permalink
fix: Fix a rebasing issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jan 18, 2024
1 parent 61ece69 commit d1643f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<<<<<<< HEAD
# UNRELEASED

- Report failures to callback when importing backed-up room keys. The
Expand All @@ -9,7 +8,6 @@

**BREAKING CHANGES**


- Rename `OlmMachine.init_from_store` introduced in v3.6.0 to
`OlmMachine.initFromStore`.
([#84](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/84))
Expand Down
3 changes: 2 additions & 1 deletion src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,8 @@ impl OlmMachine {
let mut failures = 0;
for backed_up_room_keys_entry in backed_up_room_keys.entries() {
let backed_up_room_keys_entry: Array = backed_up_room_keys_entry?.dyn_into()?;
let room_id = identifiers::RoomId::try_from_js_value(backed_up_room_keys_entry.get(0))?;
let room_id =
identifiers::RoomId::try_from_js_value(backed_up_room_keys_entry.get(0))?.inner;

let room_room_keys: Map = backed_up_room_keys_entry.get(1).dyn_into()?;

Expand Down

0 comments on commit d1643f2

Please sign in to comment.