Fix voice chats in legacy groups

This commit is contained in:
Ilya Laktyushin
2021-02-18 00:04:13 +04:00
parent 5096e5c84d
commit 22f9a91f97
6 changed files with 35 additions and 2 deletions

View File

@@ -1424,6 +1424,12 @@ class ChatListItemNode: ItemListRevealOptionsItemNode {
online = true
}
animateOnline = true
} else if let group = renderedPeer.peer as? TelegramGroup {
onlineIsVoiceChat = true
if group.flags.contains(.hasActiveVoiceChat) && item.interaction.searchTextHighightState == nil {
online = true
}
animateOnline = true
}
}