mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Disallow swipe to reply on comments head message
This commit is contained in:
@@ -455,6 +455,11 @@ class ChatMessageAnimatedStickerItemNode: ChatMessageItemView {
|
||||
if strongSelf.selectionNode != nil {
|
||||
return false
|
||||
}
|
||||
|
||||
if case let .replyThread(replyThreadMessage) = item.chatLocation, replyThreadMessage.isChannelPost, replyThreadMessage.messageId.peerId != item.content.firstMessage.id.peerId {
|
||||
return false
|
||||
}
|
||||
|
||||
let action = item.controllerInteraction.canSetupReply(item.message)
|
||||
strongSelf.currentSwipeAction = action
|
||||
if case .none = action {
|
||||
|
||||
Reference in New Issue
Block a user