mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix decode warning
This commit is contained in:
parent
66a03ac134
commit
062744ffe9
@ -360,7 +360,7 @@ public final class ChatInterfaceState: Codable, Equatable {
|
||||
} else {
|
||||
self.forwardMessageIds = nil
|
||||
}
|
||||
self.forwardMessageHideSendersNames = ((try? container.decode(Int32.self, forKey: "fhn")) ?? 0) != 0
|
||||
self.forwardMessageHideSendersNames = ((try? container.decodeIfPresent(Int32.self, forKey: "fhn")) ?? 0) != 0
|
||||
if let editMessage = try? container.decodeIfPresent(ChatEditMessageState.self, forKey: "em") {
|
||||
self.editMessage = editMessage
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user