mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 11:50:56 +00:00
Fix missing group flags serialization
This commit is contained in:
parent
0ebaaa3641
commit
fb5f48afa8
@ -146,6 +146,7 @@ public final class TelegramGroup: Peer, Equatable {
|
|||||||
encoder.encodeInt32(Int32(self.participantCount), forKey: "pc")
|
encoder.encodeInt32(Int32(self.participantCount), forKey: "pc")
|
||||||
encoder.encodeObject(self.role, forKey: "rv")
|
encoder.encodeObject(self.role, forKey: "rv")
|
||||||
encoder.encodeInt32(self.membership.rawValue, forKey: "m")
|
encoder.encodeInt32(self.membership.rawValue, forKey: "m")
|
||||||
|
encoder.encodeInt32(self.flags.rawValue, forKey: "f")
|
||||||
if let defaultBannedRights = self.defaultBannedRights {
|
if let defaultBannedRights = self.defaultBannedRights {
|
||||||
encoder.encodeObject(defaultBannedRights, forKey: "dbr")
|
encoder.encodeObject(defaultBannedRights, forKey: "dbr")
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user