mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #2961 from vector-im/riot_2959
E2E: Do not warn anymore for unknown devices
This commit is contained in:
commit
02cd98d3fc
3 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,7 @@ Changes in 0.11.0 (2020-xx-xx)
|
|||
===============================================
|
||||
|
||||
Improvements:
|
||||
* E2E: Do not warn anymore for unknown devices
|
||||
* ON/OFF Cross-signing development in a Lab setting (#2855).
|
||||
* RoomVC: Update encryption decoration with shields (#2934, #2930, #2906).
|
||||
* Settings: Remove "End-to-End Encryption" from the LABS section (#2941).
|
||||
|
|
|
@ -2802,6 +2802,9 @@ NSString *const AppDelegateDidValidateEmailNotificationClientSecretKey = @"AppDe
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Do not warn for unknown devices if cross-signing is enabled
|
||||
mxSession.crypto.warnOnUnknowDevices = !RiotSettings.shared.enableCrossSigning;
|
||||
}
|
||||
else if (mxSession.state == MXSessionStateClosed)
|
||||
{
|
||||
|
|
|
@ -3056,6 +3056,8 @@ SettingsIdentityServerCoordinatorBridgePresenterDelegate>
|
|||
UISwitch *switchButton = (UISwitch*)sender;
|
||||
|
||||
RiotSettings.shared.enableCrossSigning = switchButton.isOn;
|
||||
|
||||
self.mainSession.crypto.warnOnUnknowDevices = !RiotSettings.shared.enableCrossSigning;
|
||||
}
|
||||
|
||||
- (void)togglePinRoomsWithMissedNotif:(id)sender
|
||||
|
|
Loading…
Reference in a new issue