Fix context menu

This commit is contained in:
Ali 2020-03-31 16:50:17 +04:00
parent 7cc25002fc
commit 1be6e0c3ba

View File

@ -630,8 +630,8 @@ class ChatMessageInstantVideoItemNode: ChatMessageItemView {
f() f()
case let .optionalAction(f): case let .optionalAction(f):
f() f()
case let .openContextMenu(tapMessage, selectAll, subFrame): case .openContextMenu:
self.item?.controllerInteraction.openMessageContextMenu(tapMessage, selectAll, self, subFrame, nil) break
} }
} else if case .tap = gesture { } else if case .tap = gesture {
self.item?.controllerInteraction.clickThroughMessage() self.item?.controllerInteraction.clickThroughMessage()