Add a build flag for Verify with Classic to disable it for the next RC. (#5406)

This commit is contained in:
Doug
2026-04-16 12:19:09 +01:00
committed by GitHub
parent 9121ce6f45
commit 1d0b73fe4d
2 changed files with 3 additions and 1 deletions
@@ -445,6 +445,8 @@ final class AppSettings {
@UserPreference(key: UserDefaultsKeys.liveLocationSharingEnabled, defaultValue: false, storageType: .userDefaults(store))
var liveLocationSharingEnabled
let verifyWithClassicEnabled = appBuildType != .release
@UserPreference(key: UserDefaultsKeys.developerOptionsEnabled, defaultValue: appBuildType == .debug, storageType: .userDefaults(store))
var developerOptionsEnabled
}
@@ -46,7 +46,7 @@ class AuthenticationService: AuthenticationServiceProtocol {
self.appHooks = appHooks
do {
if let classicAppManager {
if let classicAppManager, appSettings.verifyWithClassicEnabled {
classicAppAccount = try classicAppManager.loadAccounts().first
} else {
MXLog.info("Classic App not configured, skipping loadAccounts.")