Don't try to set crypto options without crypto enabled
parent
e47240d838
commit
9a1be1a24d
|
@ -1505,7 +1505,6 @@ export default createReactClass({
|
|||
"blacklistUnverifiedDevices",
|
||||
);
|
||||
cli.setGlobalBlacklistUnverifiedDevices(blacklistEnabled);
|
||||
}
|
||||
|
||||
// With cross-signing enabled, we send to unknown devices
|
||||
// without prompting. Any bad-device status the user should
|
||||
|
@ -1515,6 +1514,8 @@ export default createReactClass({
|
|||
cli.setGlobalErrorOnUnknownDevices(
|
||||
!SettingsStore.isFeatureEnabled("feature_cross_signing"),
|
||||
);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
showScreen: function(screen, params) {
|
||||
|
|
Loading…
Reference in New Issue