mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
fix sssskey not being migrated properly
This commit is contained in:
parent
31a70e1b8e
commit
89add8b684
@ -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 New Issue
Block a user