mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: improve context menu handling in chats
This commit is contained in:
@@ -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;
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user