mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 19:31:11 +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() {
|
||||
if (!this.refs.encrypt.checked) return;
|
||||
|
||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
Modal.createDialog(QuestionDialog, {
|
||||
title: "Warning!",
|
||||
|
Loading…
x
Reference in New Issue
Block a user