Merge pull request #569 from matrix-org/rav/reinstate_devices_list

Reinstate missing sections from the UserSettings
This commit is contained in:
Richard van der Hoff 2016-11-23 11:27:59 +00:00 committed by GitHub
commit 7650e3de6e

View file

@ -338,10 +338,6 @@ module.exports = React.createClass({
},
_renderCryptoInfo: function() {
if (!UserSettingsStore.isFeatureEnabled("e2e_encryption")) {
return null;
}
var client = MatrixClientPeg.get();
var deviceId = client.deviceId;
var identityKey = client.getDeviceEd25519Key() || "<not supported>";
@ -362,9 +358,6 @@ module.exports = React.createClass({
},
_renderDevicesPanel: function() {
if (!UserSettingsStore.isFeatureEnabled("e2e_encryption")) {
return null;
}
var DevicesPanel = sdk.getComponent('settings.DevicesPanel');
return (
<div>