Add "Export E2E keys" option to logout dialog
Fixes https://github.com/vector-im/riot-web/issues/3184
This commit is contained in:
parent
648ad8d66c
commit
b21f016d37
2 changed files with 10 additions and 4 deletions
|
@ -268,6 +268,12 @@ module.exports = React.createClass({
|
|||
but for now be warned.
|
||||
</div>,
|
||||
button: "Sign out",
|
||||
extraButtons: [
|
||||
<button className="mx_Dialog_primary"
|
||||
onClick={this._onExportE2eKeysClicked}>
|
||||
Export E2E room keys
|
||||
</button>
|
||||
],
|
||||
onFinished: (confirmed) => {
|
||||
if (confirmed) {
|
||||
dis.dispatch({action: 'logout'});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue