Display mandatory backup only if session is running

This commit is contained in:
aringenbach
2022-06-22 15:07:42 +02:00
committed by aringenbach
parent b1db7ada87
commit 07d2a18f36
2 changed files with 2 additions and 0 deletions
@@ -2350,6 +2350,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
}
if (mainSession.vc_homeserverConfiguration.encryption.isSecureBackupRequired
&& mainSession.state == MXSessionStateRunning
&& mainSession.vc_canSetupSecureBackup)
{
// This only happens at the first login