mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
also delete old crossSigningKeys field on userIdentities
This commit is contained in:
parent
08984ad1bc
commit
eff495c36d
@ -291,6 +291,7 @@ async function applyCrossSigningChanges(db: IDBDatabase, txn: IDBTransaction, lo
|
||||
let counter = 0;
|
||||
await iterateCursor<UserIdentity>(userIdentities.openCursor(), (value, key, cursor) => {
|
||||
delete value["deviceTrackingStatus"];
|
||||
delete value["crossSigningKeys"];
|
||||
value.keysTrackingStatus = KeysTrackingStatus.Outdated;
|
||||
cursor.update(value);
|
||||
counter += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user