mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 11:30:04 +00:00
13 lines
334 B
Swift
13 lines
334 B
Swift
import Foundation
|
|
|
|
enum PostboxUpgradeOperation {
|
|
case inplace((MetadataTable, ValueBox) -> Void)
|
|
}
|
|
|
|
func registeredUpgrades() -> [Int32: PostboxUpgradeOperation] {
|
|
var dict: [Int32: PostboxUpgradeOperation] = [:]
|
|
dict[12] = .inplace(postboxUpgrade_12to13)
|
|
dict[13] = .inplace(postboxUpgrade_13to14)
|
|
return dict
|
|
}
|