mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-25 21:41:23 +00:00
Fix build
This commit is contained in:
@@ -1365,7 +1365,7 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate {
|
||||
}
|
||||
|
||||
let mediaInputDisabled: Bool
|
||||
if let _ = interfaceState.hasActiveGroupCall {
|
||||
if interfaceState.hasActiveGroupCall {
|
||||
mediaInputDisabled = true
|
||||
} else if let channel = interfaceState.renderedPeer?.peer as? TelegramChannel, channel.hasBannedPermission(.banSendMedia) != nil {
|
||||
mediaInputDisabled = true
|
||||
|
||||
Reference in New Issue
Block a user