diff --git a/Riot/Modules/Application/LegacyAppDelegate.m b/Riot/Modules/Application/LegacyAppDelegate.m index d11e119f8..b592ee311 100644 --- a/Riot/Modules/Application/LegacyAppDelegate.m +++ b/Riot/Modules/Application/LegacyAppDelegate.m @@ -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 diff --git a/changelog.d/pr-6331.bugfix b/changelog.d/pr-6331.bugfix new file mode 100644 index 000000000..04899bdfe --- /dev/null +++ b/changelog.d/pr-6331.bugfix @@ -0,0 +1 @@ +Display mandatory backup only if session is running