diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp index d625ee3013..aa81995873 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp @@ -1614,6 +1614,17 @@ void ListWidget::keyPressEvent(QKeyEvent *e) { void ListWidget::mouseDoubleClickEvent(QMouseEvent *e) { mouseActionStart(e->globalPos(), e->button()); trySwitchToWordSelection(); + if (!ClickHandler::getActive() + && !ClickHandler::getPressed() + && (_mouseCursorState == CursorState::None + || _mouseCursorState == CursorState::Date) + && _selected.empty() + && (_mouseAction != MouseAction::Selecting) + && _overElement + && IsServerMsgId(_overElement->data()->id)) { + mouseActionCancel(); + replyToMessageRequestNotify(_overElement->data()->fullId()); + } } void ListWidget::trySwitchToWordSelection() {