1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Don't try to set crypto options without crypto enabled

This commit is contained in:
David Baker
2020-01-13 21:54:14 +00:00
parent e47240d838
commit 9a1be1a24d

View File

@@ -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) {