You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.7 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{1201:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var s=n(3),a=n.n(s),o=n(33),i=n.n(o),c=n(35),r=n.n(c),l=n(36),u=n(38),d=n(34),p=n(41),h=n(50);class m extends i.a.PureComponent{constructor(...e){super(...e),a()(this,"onGoToSettingsClick",()=>{this.props.onFinished(),u.a.fire(h.a.ViewUserSettings)}),a()(this,"onSetupClick",()=>{this.props.onFinished(),p.a.createTrackedDialogAsync("Key Backup","Key Backup",n.e(0).then(n.bind(null,1190)),null,null,!1,!0)})}render(){const e=l.getComponent("views.dialogs.BaseDialog"),t=l.getComponent("views.elements.DialogButtons"),n=i.a.createElement("span",{className:"mx_KeyBackupFailedDialog_title"},Object(d.a)("Recovery Method Removed"));return i.a.createElement(e,{className:"mx_KeyBackupFailedDialog",onFinished:this.props.onFinished,title:n},i.a.createElement("div",null,i.a.createElement("p",null,Object(d.a)("This session has detected that your recovery passphrase and key for Secure Messages have been removed.")),i.a.createElement("p",null,Object(d.a)("If you did this accidentally, you can setup Secure Messages on this session which will re-encrypt this session's message history with a new recovery method.")),i.a.createElement("p",{className:"warning"},Object(d.a)("If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings.")),i.a.createElement(t,{primaryButton:Object(d.a)("Set up Secure Messages"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(d.a)("Go to Settings"),onCancel:this.onGoToSettingsClick})))}}a()(m,"propTypes",{onFinished:r.a.func.isRequired})}}]);
//# sourceMappingURL=24.js.map