From fd1bf9eddb3176b51b6ed2b85fee06d140521792 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Thu, 1 Apr 2021 00:43:00 +0400 Subject: [PATCH] Restore account cleanup --- submodules/TelegramCore/Sources/AccountManager.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/submodules/TelegramCore/Sources/AccountManager.swift b/submodules/TelegramCore/Sources/AccountManager.swift index a75d49c018..69ed985493 100644 --- a/submodules/TelegramCore/Sources/AccountManager.swift +++ b/submodules/TelegramCore/Sources/AccountManager.swift @@ -373,8 +373,7 @@ public func managedCleanupAccounts(networkArguments: NetworkInitializationArgume } for (id, attributes, disposable) in beginList { Logger.shared.log("managedCleanupAccounts", "cleanup \(id), current is \(String(describing: view.currentRecord?.id))") - //TODO:localize - //disposable.set(cleanupAccount(networkArguments: networkArguments, accountManager: accountManager, id: id, encryptionParameters: encryptionParameters, attributes: attributes, rootPath: rootPath, auxiliaryMethods: auxiliaryMethods).start()) + disposable.set(cleanupAccount(networkArguments: networkArguments, accountManager: accountManager, id: id, encryptionParameters: encryptionParameters, attributes: attributes, rootPath: rootPath, auxiliaryMethods: auxiliaryMethods).start()) } var validPaths = Set()