Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ba46265

Browse files
committed
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.
1 parent 99f092e commit ba46265

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/components/structures/MatrixChat.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,18 +1171,6 @@ export default React.createClass({
11711171
cli.on("crypto.warning", (type) => {
11721172
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
11731173
switch (type) {
1174-
case 'CRYPTO_WARNING_ACCOUNT_MIGRATED':
1175-
Modal.createTrackedDialog('Crypto migrated', '', ErrorDialog, {
1176-
title: _t('Cryptography data migrated'),
1177-
description: _t(
1178-
"A one-off migration of cryptography data has been performed. "+
1179-
"End-to-end encryption will not work if you go back to an older "+
1180-
"version of Riot. If you need to use end-to-end cryptography on "+
1181-
"an older version, log out of Riot first. To retain message history, "+
1182-
"export and re-import your keys.",
1183-
),
1184-
});
1185-
break;
11861174
case 'CRYPTO_WARNING_OLD_VERSION_DETECTED':
11871175
Modal.createTrackedDialog('Crypto migrated', '', ErrorDialog, {
11881176
title: _t('Old cryptography data detected'),

0 commit comments

Comments
 (0)