Skip to content

Commit

Permalink
fix sssskey not being migrated properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Sep 30, 2021
1 parent 31a70e1 commit 89add8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matrix/storage/idb/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ async function changeSSSSKeyPrefix(db: IDBDatabase, txn: IDBTransaction) {
const session = txn.objectStore("session");
const ssssKey = await reqAsPromise(session.get("ssssKey"));
if (ssssKey) {
session.put({key: `${SESSION_E2EE_KEY_PREFIX}ssssKey`, value: ssssKey});
session.put({key: `${SESSION_E2EE_KEY_PREFIX}ssssKey`, value: ssssKey.value});
}
}
// v13
Expand Down

0 comments on commit 89add8b

Please sign in to comment.