From 5e1a46c656096daf9e774ae2cce38d20749981c4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 24 Mar 2020 13:03:07 +0000 Subject: [PATCH] Update for new name --- src/DeviceListener.js | 2 +- src/components/views/settings/CrossSigningPanel.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DeviceListener.js b/src/DeviceListener.js index 346be4bd13..3992a587ae 100644 --- a/src/DeviceListener.js +++ b/src/DeviceListener.js @@ -108,7 +108,7 @@ export default class DeviceListener { if (!cli.isCryptoEnabled()) return; - const crossSigningReady = await cli.crossSigningReady(); + const crossSigningReady = await cli.isCrossSigningReady(); if (!crossSigningReady) { if (this._dismissedThisDeviceToast) { diff --git a/src/components/views/settings/CrossSigningPanel.js b/src/components/views/settings/CrossSigningPanel.js index 0df75f16bc..9fb47d8bbd 100644 --- a/src/components/views/settings/CrossSigningPanel.js +++ b/src/components/views/settings/CrossSigningPanel.js @@ -74,7 +74,7 @@ export default class CrossSigningPanel extends React.PureComponent { const secretStorageKeyInAccount = await secretStorage.hasKey(); const homeserverSupportsCrossSigning = await cli.doesServerSupportUnstableFeature("org.matrix.e2e_cross_signing"); - const crossSigningReady = await cli.crossSigningReady(); + const crossSigningReady = await cli.isCrossSigningReady(); this.setState({ crossSigningPublicKeysOnDevice,