{_t(
- "When you log out, you'll lose your secure message history. To prevent " +
- "this, set up a recovery method.",
- )}
-
{_t(
- "Alternatively, advanced users can also manually export encryption keys in " +
- "Settings before logging out.", {},
- {
- a: sub => {sub},
- },
- )}
-
;
- } else {
- description =
{_t(
- "For security, logging out will delete any end-to-end " +
- "encryption keys from this browser. If you want to be able " +
- "to decrypt your conversation history from future Riot sessions, " +
- "please export your room keys for safe-keeping.",
- )}
;
- }
+ const description =
+
{_t(
+ "When you log out, you'll lose your secure message history. To prevent " +
+ "this, set up a recovery method.",
+ )}
+
{_t(
+ "Alternatively, advanced users can also manually export encryption keys in " +
+ "Settings before logging out.", {},
+ {
+ a: sub => {sub},
+ },
+ )}
+
;
- if (SettingsStore.isFeatureEnabled("feature_keybackup")) {
- if (!MatrixClientPeg.get().getKeyBackupEnabled()) {
- const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog');
- const DialogButtons = sdk.getComponent('views.elements.DialogButtons');
- // Not quite a standard question dialog as the primary button cancels
- // the action and does something else instead, whilst non-default button
- // confirms the action.
- return (
+