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() {
 | 
			
		||||
        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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue