mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Security settings: Do not ask to complete security if there is no cross-signing
Fix #3147
This commit is contained in:
@@ -934,7 +934,14 @@ UIDocumentInteractionControllerDelegate>
|
||||
{
|
||||
MXDevice *device = devicesArray[deviceIndex];
|
||||
|
||||
if (self.mainSession.crypto.crossSigning.canCrossSign)
|
||||
if (self.mainSession.crypto.crossSigning.state == MXCrossSigningStateNotBootstrapped)
|
||||
{
|
||||
// Display the device details. The verification will fail there.
|
||||
ManageSessionViewController *viewController = [ManageSessionViewController instantiateWithMatrixSession:self.mainSession andDevice:device];
|
||||
|
||||
[self pushViewController:viewController];
|
||||
}
|
||||
else if (self.mainSession.crypto.crossSigning.canCrossSign)
|
||||
{
|
||||
ManageSessionViewController *viewController = [ManageSessionViewController instantiateWithMatrixSession:self.mainSession andDevice:device];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user