mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 15:37:01 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
4d0ebd5f77
@ -105,7 +105,7 @@ public func exportAuthTransferToken(accountManager: AccountManager, account: Una
|
||||
}
|
||||
|> mapToSignal { result -> Signal<ExportAuthTransferTokenResult, ExportAuthTransferTokenError> in
|
||||
switch result {
|
||||
case let .loginTokenSuccess(authorization):
|
||||
case let .loginTokenSuccess(authorization)?:
|
||||
switch authorization {
|
||||
case let .authorization(_, _, user):
|
||||
return updatedAccount.postbox.transaction { transaction -> Signal<ExportAuthTransferTokenResult, ExportAuthTransferTokenError> in
|
||||
|
Loading…
x
Reference in New Issue
Block a user