Don't allow replies while searching

This commit is contained in:
Peter 2019-10-11 16:21:37 +04:00
parent 5536cad24e
commit 8665208520

View File

@ -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 {