forked from mystiq/hydrogen-web
Merge pull request #525 from vector-im/bwindels/fix-sssskey-conversion
fix sssskey not being migrated properly
This commit is contained in:
commit
3fba2c6513
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ async function changeSSSSKeyPrefix(db: IDBDatabase, txn: IDBTransaction) {
|
||||||
const session = txn.objectStore("session");
|
const session = txn.objectStore("session");
|
||||||
const ssssKey = await reqAsPromise(session.get("ssssKey"));
|
const ssssKey = await reqAsPromise(session.get("ssssKey"));
|
||||||
if (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
|
// v13
|
||||||
|
|
Loading…
Reference in a new issue