mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add account deletion
This commit is contained in:
@@ -486,7 +486,7 @@ final class AuthorizedApplicationContext {
|
||||
}
|
||||
let accountId = strongSelf.context.account.id
|
||||
let accountManager = strongSelf.context.sharedContext.accountManager
|
||||
let _ = (strongSelf.context.engine.auth.deleteAccount(reason: "GDPR")
|
||||
let _ = (strongSelf.context.engine.auth.deleteAccount(reason: "GDPR", password: nil)
|
||||
|> deliverOnMainQueue).start(error: { _ in
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user