actually write modified values in migration

This commit is contained in:
Bruno Windels 2023-03-03 11:56:51 +01:00
parent c747d5f228
commit 2563aa23e1

View File

@ -291,6 +291,7 @@ async function applyCrossSigningChanges(db: IDBDatabase, txn: IDBTransaction) :
await iterateCursor<UserIdentity>(userIdentities.openCursor(), (value, key, cursor) => {
delete value["deviceTrackingStatus"];
value.keysTrackingStatus = KeysTrackingStatus.Outdated;
cursor.update(value);
return NOT_DONE;
});
}