mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
actually write modified values in migration
This commit is contained in:
parent
c747d5f228
commit
2563aa23e1
@ -291,6 +291,7 @@ async function applyCrossSigningChanges(db: IDBDatabase, txn: IDBTransaction) :
|
|||||||
await iterateCursor<UserIdentity>(userIdentities.openCursor(), (value, key, cursor) => {
|
await iterateCursor<UserIdentity>(userIdentities.openCursor(), (value, key, cursor) => {
|
||||||
delete value["deviceTrackingStatus"];
|
delete value["deviceTrackingStatus"];
|
||||||
value.keysTrackingStatus = KeysTrackingStatus.Outdated;
|
value.keysTrackingStatus = KeysTrackingStatus.Outdated;
|
||||||
|
cursor.update(value);
|
||||||
return NOT_DONE;
|
return NOT_DONE;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user