From 1be6e0c3ba04c96c6b3b404a3e1ea92b132f35e2 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Tue, 31 Mar 2020 16:50:17 +0400 Subject: [PATCH] Fix context menu --- .../TelegramUI/Sources/ChatMessageInstantVideoItemNode.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramUI/Sources/ChatMessageInstantVideoItemNode.swift b/submodules/TelegramUI/Sources/ChatMessageInstantVideoItemNode.swift index 4365a1d469..6c3735a305 100644 --- a/submodules/TelegramUI/Sources/ChatMessageInstantVideoItemNode.swift +++ b/submodules/TelegramUI/Sources/ChatMessageInstantVideoItemNode.swift @@ -630,8 +630,8 @@ class ChatMessageInstantVideoItemNode: ChatMessageItemView { f() case let .optionalAction(f): f() - case let .openContextMenu(tapMessage, selectAll, subFrame): - self.item?.controllerInteraction.openMessageContextMenu(tapMessage, selectAll, self, subFrame, nil) + case .openContextMenu: + break } } else if case .tap = gesture { self.item?.controllerInteraction.clickThroughMessage()