Voice chat UI fixes

This commit is contained in:
Ali
2020-12-05 23:45:35 +00:00
parent 42834133f8
commit 1e10a74871
12 changed files with 74 additions and 16 deletions

View File

@@ -1361,7 +1361,7 @@ class ChatListItemNode: ItemListRevealOptionsItemNode {
animateOnline = true
} else if let channel = renderedPeer.peer as? TelegramChannel {
onlineIsVoiceChat = true
if channel.flags.contains(.hasVoiceChat) && item.interaction.searchTextHighightState == nil {
if channel.flags.contains(.hasActiveVoiceChat) && item.interaction.searchTextHighightState == nil {
online = true
}
animateOnline = true