mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 17:16:58 +00:00
Merge commit 'ed0086310e596136378ffb581a6ccefc2f39a93b'
This commit is contained in:
@@ -22,10 +22,10 @@ func managedAppChangelog(postbox: Postbox, network: Network, stateManager: Accou
|
||||
}
|
||||
|> mapToSignal { appChangelogState -> Signal<Void, NoError> in
|
||||
let appChangelogState = appChangelogState
|
||||
if false, appChangelogState.checkedVersion == appVersion {
|
||||
if appChangelogState.checkedVersion == appVersion {
|
||||
return .complete()
|
||||
}
|
||||
let previousVersion = "5.6 (123)"//appChangelogState.previousVersion
|
||||
let previousVersion = appChangelogState.previousVersion
|
||||
return network.request(Api.functions.help.getAppChangelog(prevAppVersion: previousVersion))
|
||||
|> map(Optional.init)
|
||||
|> `catch` { _ -> Signal<Api.Updates?, NoError> in
|
||||
|
||||
Reference in New Issue
Block a user