Skip to content

Commit

Permalink
Merge pull request #525 from vector-im/bwindels/fix-sssskey-conversion
Browse files Browse the repository at this point in the history
fix sssskey not being migrated properly
  • Loading branch information
bwindels authored Sep 30, 2021
2 parents 31a70e1 + 89add8b commit 3fba2c6
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 3fba2c6

Please sign in to comment.