mirror of https://github.com/vector-im/riot-web
don't warn when disabling crypto
parent
5fa5489bbd
commit
53bb6b96ce
|
@ -446,6 +446,8 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onEnableEncryptionClick() {
|
onEnableEncryptionClick() {
|
||||||
|
if (!this.refs.encrypt.checked) return;
|
||||||
|
|
||||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
Modal.createDialog(QuestionDialog, {
|
Modal.createDialog(QuestionDialog, {
|
||||||
title: "Warning!",
|
title: "Warning!",
|
||||||
|
|
Loading…
Reference in New Issue