mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Voice Chat UI fixes
This commit is contained in:
parent
25e0c3592e
commit
c86c47bbd2
@ -1365,7 +1365,7 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate {
|
||||
}
|
||||
|
||||
let mediaInputDisabled: Bool
|
||||
if let _ = interfaceState.activeGroupCallInfo {
|
||||
if let _ = interfaceState.hasActiveGroupCall {
|
||||
mediaInputDisabled = true
|
||||
} else if let channel = interfaceState.renderedPeer?.peer as? TelegramChannel, channel.hasBannedPermission(.banSendMedia) != nil {
|
||||
mediaInputDisabled = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user