Enable automatic Verification when already signed in with Element Classic. (#5453)

Enable automatic Verification with Element Classic.
This commit is contained in:
Doug
2026-04-21 11:43:51 +01:00
committed by GitHub
parent 4edebeeb75
commit e51e93c3f1
2 changed files with 1 additions and 3 deletions

View File

@@ -450,8 +450,6 @@ final class AppSettings {
@UserPreference(key: UserDefaultsKeys.liveLocationSharingEnabled, defaultValue: false, storageType: .userDefaults(store))
var liveLocationSharingEnabled
let verifyWithClassicEnabled = appBuildType != .release
@UserPreference(key: UserDefaultsKeys.automaticBackPaginationEnabled, defaultValue: false, storageType: .userDefaults(store))
var automaticBackPaginationEnabled

View File

@@ -46,7 +46,7 @@ class AuthenticationService: AuthenticationServiceProtocol {
self.appHooks = appHooks
do {
if let classicAppManager, appSettings.verifyWithClassicEnabled {
if let classicAppManager {
classicAppAccount = try classicAppManager.loadAccounts().first
} else {
MXLog.info("Classic App not configured, skipping loadAccounts.")