mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 12:51:04 +02:00
don't warn when disabling crypto
This commit is contained in:
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…
x
Reference in New Issue
Block a user