mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
no message
This commit is contained in:
@@ -48,10 +48,10 @@ public func acceptTermsOfService(account: Account, id: String) -> Signal<Void, N
|
||||
}
|
||||
}
|
||||
|
||||
public func resetAccountDueTermsOfService(network: Network) -> Signal<Void, Void> {
|
||||
public func resetAccountDueTermsOfService(network: Network) -> Signal<Void, NoError> {
|
||||
return network.request(Api.functions.account.deleteAccount(reason: "Decline ToS update"))
|
||||
|> retryRequest
|
||||
|> map {_ in return}
|
||||
|> retryRequest
|
||||
|> map { _ in return }
|
||||
}
|
||||
|
||||
func managedTermsOfServiceUpdates(postbox: Postbox, network: Network, stateManager: AccountStateManager) -> Signal<Void, NoError> {
|
||||
|
||||
Reference in New Issue
Block a user