Get rid of always-on labs settings
If the setting is on by default, it's not much use as a Labs setting. The E2e setting was only confusing everyone anyway.
This commit is contained in:
parent
2e691240ae
commit
4476b09ce7
4 changed files with 28 additions and 61 deletions
|
@ -30,7 +30,6 @@ var classNames = require('classnames');
|
|||
var dis = require("../../../dispatcher");
|
||||
var Modal = require("../../../Modal");
|
||||
var sdk = require('../../../index');
|
||||
var UserSettingsStore = require('../../../UserSettingsStore');
|
||||
var createRoom = require('../../../createRoom');
|
||||
var DMRoomMap = require('../../../utils/DMRoomMap');
|
||||
var Unread = require('../../../Unread');
|
||||
|
@ -71,10 +70,8 @@ module.exports = WithMatrixClient(React.createClass({
|
|||
componentWillMount: function() {
|
||||
this._cancelDeviceList = null;
|
||||
|
||||
// only display the devices list if our client supports E2E *and* the
|
||||
// feature is enabled in the user settings
|
||||
this._enableDevices = this.props.matrixClient.isCryptoEnabled() &&
|
||||
UserSettingsStore.isFeatureEnabled("e2e_encryption");
|
||||
// only display the devices list if our client supports E2E
|
||||
this._enableDevices = this.props.matrixClient.isCryptoEnabled();
|
||||
|
||||
const cli = this.props.matrixClient;
|
||||
cli.on("deviceVerificationChanged", this.onDeviceVerificationChanged);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue