mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Frozen account improvements
This commit is contained in:
@@ -479,10 +479,13 @@ private func continueSynchronizeInstalledStickerPacks(transaction: Transaction,
|
||||
}
|
||||
|
||||
let sequence = request
|
||||
|> retryRequest
|
||||
|> retryRequestIfNotFrozen
|
||||
|> mapError { _ -> SynchronizeInstalledStickerPacksError in
|
||||
}
|
||||
|> mapToSignal { result -> Signal<Void, SynchronizeInstalledStickerPacksError> in
|
||||
guard let result else {
|
||||
return .complete()
|
||||
}
|
||||
return postbox.transaction { transaction -> Signal<Void, SynchronizeInstalledStickerPacksError> in
|
||||
let checkLocalCollectionInfos = transaction.getItemCollectionsInfos(namespace: collectionNamespace).map { $0.1 as! StickerPackCollectionInfo }
|
||||
if checkLocalCollectionInfos != localCollectionInfos {
|
||||
|
||||
Reference in New Issue
Block a user