This commit is contained in:
Ali
2022-06-26 16:20:01 +02:00
parent b81579c81d
commit 24ce025082
2 changed files with 5 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ public enum StickerPackReference: PostboxCoding, Hashable, Equatable, Codable {
}
}
public init(decoder: Decoder) throws {
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: StringCodingKey.self)
let discriminator = try container.decode(Int32.self, forKey: "r")