Support updated API

This commit is contained in:
Ali
2023-09-05 13:41:05 +04:00
parent f8ebd4aa2f
commit f4545aaeeb
38 changed files with 1402 additions and 956 deletions

View File

@@ -2254,7 +2254,7 @@ func _internal_groupCallDisplayAsAvailablePeers(accountPeerId: PeerId, network:
for chat in chats {
if let groupOrChannel = parseTelegramGroupOrChannel(chat: chat) {
switch chat {
case let .channel(_, _, _, _, _, _, _, _, _, _, _, _, participantsCount, _):
case let .channel(_, _, _, _, _, _, _, _, _, _, _, _, participantsCount, _, _):
if let participantsCount = participantsCount {
subscribers[groupOrChannel.id] = participantsCount
}