mirror of https://github.com/vector-im/riot-web
Merge pull request #569 from matrix-org/rav/reinstate_devices_list
Reinstate missing sections from the UserSettingspull/21833/head
commit
7650e3de6e
|
@ -338,10 +338,6 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
_renderCryptoInfo: function() {
|
_renderCryptoInfo: function() {
|
||||||
if (!UserSettingsStore.isFeatureEnabled("e2e_encryption")) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
var client = MatrixClientPeg.get();
|
var client = MatrixClientPeg.get();
|
||||||
var deviceId = client.deviceId;
|
var deviceId = client.deviceId;
|
||||||
var identityKey = client.getDeviceEd25519Key() || "<not supported>";
|
var identityKey = client.getDeviceEd25519Key() || "<not supported>";
|
||||||
|
@ -362,9 +358,6 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
_renderDevicesPanel: function() {
|
_renderDevicesPanel: function() {
|
||||||
if (!UserSettingsStore.isFeatureEnabled("e2e_encryption")) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
var DevicesPanel = sdk.getComponent('settings.DevicesPanel');
|
var DevicesPanel = sdk.getComponent('settings.DevicesPanel');
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue