From 42e7f625cd0f1071d029ac95a4f8cd44e5855c48 Mon Sep 17 00:00:00 2001 From: AlexeyZavar Date: Mon, 2 Mar 2026 19:49:03 +0300 Subject: [PATCH] fix: improve context menu handling in chats --- Telegram/SourceFiles/history/history_inner_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 8986c784eb..5620e80bd7 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -3010,6 +3010,8 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { ? Element::Hovered()->data().get() : Element::HoveredLink() ? Element::HoveredLink()->data().get() + : Element::Moused() + ? Element::Moused()->data().get() : nullptr; return result ? groupLeaderOrSelf(result) : nullptr; }();