mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-28 01:28:46 +00:00
Fix can start voice chat on info screen
This commit is contained in:
@@ -1039,9 +1039,9 @@ func peerInfoHeaderButtons(peer: Peer?, cachedData: CachedPeerData?, isOpenedFro
|
||||
if channel.flags.contains(.hasVoiceChat) {
|
||||
hasVoiceChat = true
|
||||
}
|
||||
if !hasVoiceChat && (channel.flags.contains(.isCreator) || channel.hasPermission(.manageCalls)) {
|
||||
canStartVoiceChat = true
|
||||
}
|
||||
}
|
||||
if !hasVoiceChat && (channel.flags.contains(.isCreator) || channel.hasPermission(.manageCalls)) {
|
||||
canStartVoiceChat = true
|
||||
}
|
||||
switch channel.participationStatus {
|
||||
case .member:
|
||||
|
||||
Reference in New Issue
Block a user