diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 95d73c6e9..e7304e7d1 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -113,6 +113,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "styles/style_chat_helpers.h" #include "styles/style_info.h" +#include // keyboardModifiers() #include #include @@ -2932,7 +2933,9 @@ void HistoryWidget::onWindowVisibleChanged() { } void HistoryWidget::historyDownClicked() { - if (_replyReturn && _replyReturn->history() == _history) { + if (QGuiApplication::keyboardModifiers() == Qt::ControlModifier) { + showHistory(_peer->id, ShowAtUnreadMsgId); + } else if (_replyReturn && _replyReturn->history() == _history) { showHistory(_peer->id, _replyReturn->id); } else if (_replyReturn && _replyReturn->history() == _migrated) { showHistory(_peer->id, -_replyReturn->id);