From e51e93c3f1ad5b8684deed96eb4a66f87f20b8cf Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Tue, 21 Apr 2026 11:43:51 +0100 Subject: [PATCH] Enable automatic Verification when already signed in with Element Classic. (#5453) Enable automatic Verification with Element Classic. --- ElementX/Sources/Application/Settings/AppSettings.swift | 2 -- .../Sources/Services/Authentication/AuthenticationService.swift | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ElementX/Sources/Application/Settings/AppSettings.swift b/ElementX/Sources/Application/Settings/AppSettings.swift index 756333367..e9500d836 100644 --- a/ElementX/Sources/Application/Settings/AppSettings.swift +++ b/ElementX/Sources/Application/Settings/AppSettings.swift @@ -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 diff --git a/ElementX/Sources/Services/Authentication/AuthenticationService.swift b/ElementX/Sources/Services/Authentication/AuthenticationService.swift index cbeed9a48..a3b521754 100644 --- a/ElementX/Sources/Services/Authentication/AuthenticationService.swift +++ b/ElementX/Sources/Services/Authentication/AuthenticationService.swift @@ -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.")