From 779392015c17d568b006c8440bb758b22e17bbc2 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 18 Jan 2024 10:34:07 +0100 Subject: [PATCH] fix: Fix a rebasing issue. --- src/machine.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/machine.rs b/src/machine.rs index f9db4ca4e..b93e014a0 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -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()?;