You've already forked matrix-js-sdk
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:
@@ -953,6 +953,8 @@ export class Crypto extends EventEmitter {
|
|||||||
// sign with the device fingerprint
|
// sign with the device fingerprint
|
||||||
await this.signObject(data.auth_data);
|
await this.signObject(data.auth_data);
|
||||||
|
|
||||||
|
await this.backupManager.enableKeyBackup(data);
|
||||||
|
|
||||||
builder.addSessionBackup(data);
|
builder.addSessionBackup(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user