From c849d2f88ae08112979e7594039bf5789ca080c9 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 12 Mar 2021 19:55:14 +0400 Subject: [PATCH] Display legacy group voice chats on call tab --- submodules/CallListUI/Sources/CallListControllerNode.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/submodules/CallListUI/Sources/CallListControllerNode.swift b/submodules/CallListUI/Sources/CallListControllerNode.swift index 3eb2d20c59..1da7ab001d 100644 --- a/submodules/CallListUI/Sources/CallListControllerNode.swift +++ b/submodules/CallListUI/Sources/CallListControllerNode.swift @@ -426,6 +426,8 @@ final class CallListControllerNode: ASDisplayNode { case let .MessageEntry(_, _, _, _, _, renderedPeer, _, _, _, _): if let channel = renderedPeer.peer as? TelegramChannel, channel.flags.contains(.hasActiveVoiceChat) { result.append(channel) + } else if let group = renderedPeer.peer as? TelegramGroup, group.flags.contains(.hasActiveVoiceChat) { + result.append(group) } default: break