You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-05 17:02:07 +03:00
Thank you once again, o great linter, for saving our lines from being too long
This commit is contained in:
@@ -1505,7 +1505,10 @@ MatrixClient.prototype.createKeyBackupVersion = async function(info) {
|
||||
// favour of just signing with the cross-singing master key.
|
||||
await this._crypto._signObject(data.auth_data);
|
||||
|
||||
if (this._cryptoCallbacks.getSecretStorageKey && this._crypto._crossSigningInfo.getId()) {
|
||||
if (
|
||||
this._cryptoCallbacks.getSecretStorageKey &&
|
||||
this._crypto._crossSigningInfo.getId()
|
||||
) {
|
||||
// now also sign the auth data with the cross-signing master key
|
||||
// we check for the callback explicitly here because we still want to be able
|
||||
// to create an un-cross-signed key backup if there is a cross-signing key but
|
||||
|
||||
Reference in New Issue
Block a user