You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
don't warn when disabling crypto
This commit is contained in:
@@ -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!",
|
||||
|
||||
Reference in New Issue
Block a user