mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +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
|
|> mapToSignal { result -> Signal<ExportAuthTransferTokenResult, ExportAuthTransferTokenError> in
|
||||||
switch result {
|
switch result {
|
||||||
case let .loginTokenSuccess(authorization):
|
case let .loginTokenSuccess(authorization)?:
|
||||||
switch authorization {
|
switch authorization {
|
||||||
case let .authorization(_, _, user):
|
case let .authorization(_, _, user):
|
||||||
return updatedAccount.postbox.transaction { transaction -> Signal<ExportAuthTransferTokenResult, ExportAuthTransferTokenError> in
|
return updatedAccount.postbox.transaction { transaction -> Signal<ExportAuthTransferTokenResult, ExportAuthTransferTokenError> in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user