mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
no message
This commit is contained in:
@@ -36,11 +36,11 @@ public final class RecentMediaItem: OrderedItemListEntryContents, Equatable {
|
||||
self.media = media
|
||||
}
|
||||
|
||||
public init(decoder: Decoder) {
|
||||
public init(decoder: PostboxDecoder) {
|
||||
self.media = decoder.decodeObjectForKey("m") as! Media
|
||||
}
|
||||
|
||||
public func encode(_ encoder: Encoder) {
|
||||
public func encode(_ encoder: PostboxEncoder) {
|
||||
encoder.encodeObject(self.media, forKey: "m")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user