You've already forked matrix-react-sdk
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:
@@ -1505,7 +1505,6 @@ export default createReactClass({
|
|||||||
"blacklistUnverifiedDevices",
|
"blacklistUnverifiedDevices",
|
||||||
);
|
);
|
||||||
cli.setGlobalBlacklistUnverifiedDevices(blacklistEnabled);
|
cli.setGlobalBlacklistUnverifiedDevices(blacklistEnabled);
|
||||||
}
|
|
||||||
|
|
||||||
// With cross-signing enabled, we send to unknown devices
|
// With cross-signing enabled, we send to unknown devices
|
||||||
// without prompting. Any bad-device status the user should
|
// without prompting. Any bad-device status the user should
|
||||||
@@ -1515,6 +1514,8 @@ export default createReactClass({
|
|||||||
cli.setGlobalErrorOnUnknownDevices(
|
cli.setGlobalErrorOnUnknownDevices(
|
||||||
!SettingsStore.isFeatureEnabled("feature_cross_signing"),
|
!SettingsStore.isFeatureEnabled("feature_cross_signing"),
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
showScreen: function(screen, params) {
|
showScreen: function(screen, params) {
|
||||||
|
|||||||
Reference in New Issue
Block a user