mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Treat Namespaces.Message.ScheduledLocal as Namespaces.Message.Local
This commit is contained in:
@@ -81,7 +81,7 @@ class ChatMessageInstantVideoItemNode: ChatMessageItemView, UIGestureRecognizerD
|
||||
|
||||
self.interactiveVideoNode.shouldOpen = { [weak self] in
|
||||
if let strongSelf = self {
|
||||
if let item = strongSelf.item, item.message.id.namespace == Namespaces.Message.Local {
|
||||
if let item = strongSelf.item, (item.message.id.namespace == Namespaces.Message.Local || item.message.id.namespace == Namespaces.Message.ScheduledLocal) {
|
||||
return false
|
||||
}
|
||||
return !strongSelf.animatingHeight
|
||||
|
||||
Reference in New Issue
Block a user