mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Member requests fixes
This commit is contained in:
@@ -209,4 +209,8 @@ public final class TelegramGroup: Peer, Equatable {
|
||||
public func updateDefaultBannedRights(_ defaultBannedRights: TelegramChatBannedRights?, version: Int) -> TelegramGroup {
|
||||
return TelegramGroup(id: self.id, title: self.title, photo: self.photo, participantCount: self.participantCount, role: self.role, membership: self.membership, flags: self.flags, defaultBannedRights: defaultBannedRights, migrationReference: self.migrationReference, creationDate: self.creationDate, version: version)
|
||||
}
|
||||
|
||||
public func updateParticipantCount(_ participantCount: Int) -> TelegramGroup {
|
||||
return TelegramGroup(id: self.id, title: self.title, photo: self.photo, participantCount: participantCount, role: self.role, membership: self.membership, flags: self.flags, defaultBannedRights: self.defaultBannedRights, migrationReference: self.migrationReference, creationDate: self.creationDate, version: version)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user