1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Enable key backup after we reset it (#2170)

This ensures that we remember it if bootstrapCrossSigning gets called, so that
the authData gets signed by the master key, if a new key is created.
This commit is contained in:
Hubert Chathi
2022-02-11 08:42:49 -05:00
committed by GitHub
parent d9c3b880fc
commit cfad8d3614

View File

@@ -953,6 +953,8 @@ export class Crypto extends EventEmitter {
// sign with the device fingerprint
await this.signObject(data.auth_data);
await this.backupManager.enableKeyBackup(data);
builder.addSessionBackup(data);
}