From fbb355c5c9d93cad932a6da7564a0c744746038b Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 3 Jan 2020 14:02:38 +0000 Subject: [PATCH] Thank you once again, o great linter, for saving our lines from being too long --- src/client.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client.js b/src/client.js index 00cf2824d..e89ea5035 100644 --- a/src/client.js +++ b/src/client.js @@ -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