Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-09-25 17:02:36 +03:00
parent 7c77d5ebcd
commit c849e63392
14 changed files with 86 additions and 25 deletions

View File

@@ -5024,12 +5024,12 @@ public final class VoiceChatController: ViewController {
displayPanelVideos = self.displayPanelVideos
}
let isLivestream: Bool
if let channel = self.peer as? TelegramChannel, case .broadcast = channel.info {
isLivestream = true
} else {
isLivestream = false
}
// let isLivestream: Bool
// if let channel = self.peer as? TelegramChannel, case .broadcast = channel.info {
// isLivestream = true
// } else {
// isLivestream = false
// }
let canManageCall = self.callState?.canManageCall ?? false