Enable automatic Verification when already signed in with Element Classic. (#5453)
Enable automatic Verification with Element Classic.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user