You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Don't error on unverifie/unknownd devices.
When cross-signing is enabled, we no longer want to fail and prompt the user to ack every device in the room. All the info should be conveyed in the shield colour (although isn't fully just yet). Fixes https://github.com/vector-im/riot-web/issues/11750 Requires https://github.com/matrix-org/matrix-js-sdk/pull/1150
This commit is contained in:
@@ -1506,6 +1506,15 @@ export default createReactClass({
|
||||
);
|
||||
cli.setGlobalBlacklistUnverifiedDevices(blacklistEnabled);
|
||||
}
|
||||
|
||||
// With cross-signing enabled, we send to unknown devices
|
||||
// without prompting. Any bad-device status the user should
|
||||
// be aware of will be signalled through the room shield
|
||||
// changing colour. More advanced behaviour will come once
|
||||
// we implement more settings.
|
||||
cli.setGlobalErrorOnUnknownDevices(
|
||||
!SettingsStore.isFeatureEnabled("feature_cross_signing")
|
||||
);
|
||||
},
|
||||
|
||||
showScreen: function(screen, params) {
|
||||
|
||||
Reference in New Issue
Block a user