Reinstate missing sections from the UserSettings

The 'devices' and 'cryptography' sections got removed from UserSettings by #566.
pull/21833/head
Richard van der Hoff 2016-11-23 10:56:16 +00:00
parent 6842544cd7
commit 6e6bcf8b78
1 changed files with 0 additions and 7 deletions

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>