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