mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-24 12:10:49 +00:00
Don't allow replies while searching
This commit is contained in:
parent
5536cad24e
commit
8665208520
@ -119,6 +119,12 @@ func canReplyInChat(_ chatPresentationInterfaceState: ChatPresentationInterfaceS
|
||||
guard !chatPresentationInterfaceState.isScheduledMessages else {
|
||||
return false
|
||||
}
|
||||
switch chatPresentationInterfaceState.mode {
|
||||
case .inline:
|
||||
return false
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
var canReply = false
|
||||
switch chatPresentationInterfaceState.chatLocation {
|
||||
|
Loading…
x
Reference in New Issue
Block a user