From ba4626521f2413c81c2d0b1f167b9e0dd161819f Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 15 Mar 2018 10:09:12 +0000 Subject: [PATCH] Remove the message on migrating crypto data This was for when the new and old versions were available concurrently on /develop and /app. The various migration steps are still logged to the console in js-sdk. --- src/components/structures/MatrixChat.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index b37da0144f..4bfe5d0b34 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1171,18 +1171,6 @@ export default React.createClass({ cli.on("crypto.warning", (type) => { const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); switch (type) { - case 'CRYPTO_WARNING_ACCOUNT_MIGRATED': - Modal.createTrackedDialog('Crypto migrated', '', ErrorDialog, { - title: _t('Cryptography data migrated'), - description: _t( - "A one-off migration of cryptography data has been performed. "+ - "End-to-end encryption will not work if you go back to an older "+ - "version of Riot. If you need to use end-to-end cryptography on "+ - "an older version, log out of Riot first. To retain message history, "+ - "export and re-import your keys.", - ), - }); - break; case 'CRYPTO_WARNING_OLD_VERSION_DETECTED': Modal.createTrackedDialog('Crypto migrated', '', ErrorDialog, { title: _t('Old cryptography data detected'),