Refactoring

This commit is contained in:
Ali
2021-09-07 13:09:06 +04:00
parent f0f02dc4b9
commit 1141e09c1b
257 changed files with 1894 additions and 1720 deletions

View File

@@ -106,8 +106,8 @@ func _internal_requestAccountPrivacySettings(account: Account) -> Signal<Account
if let peer = parseTelegramGroupOrChannel(chat: chat) {
var participantCount: Int32? = nil
switch chat {
case let .channel(channel):
participantCount = channel.participantsCount
case let .channel(_, _, _, _, _, _, _, _, _, _, _, participantsCountValue):
participantCount = participantsCountValue
default:
break
}