Force non-cancellable session verification when needed (account migration / interrupted authentication)

This commit is contained in:
Arnaud Ringenbach
2022-03-09 10:42:29 +01:00
parent 010e5d8d9f
commit d0fe3a0d92
3 changed files with 12 additions and 2 deletions
@@ -952,6 +952,15 @@
}
self.reviewSessionAlertHasBeenDisplayed = YES;
// Force verification if required by the HS configuration
if (session.vc_homeserverConfiguration.encryption.isSecureBackupRequired)
{
NSLog(@"[MasterTabBarController] presentVerifyCurrentSessionAlertIfNeededWithSession: Force verification of the device");
[[AppDelegate theDelegate] presentCompleteSecurityForSession:session];
return;
}
[self presentVerifyCurrentSessionAlertWithSession:session];
}