mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-27 05:30:50 +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 {
|
guard !chatPresentationInterfaceState.isScheduledMessages else {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
switch chatPresentationInterfaceState.mode {
|
||||||
|
case .inline:
|
||||||
|
return false
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
var canReply = false
|
var canReply = false
|
||||||
switch chatPresentationInterfaceState.chatLocation {
|
switch chatPresentationInterfaceState.chatLocation {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user