From 924780d8d89342c9571da88bfbcc18961de2dadc Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 4 Jun 2022 15:25:53 +0300 Subject: [PATCH] Fixed replying of local messages with shortcuts in sections. --- Telegram/SourceFiles/history/view/history_view_list_widget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp index 2d1f6a678b..3b1be978b5 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp @@ -3259,6 +3259,9 @@ void ListWidget::replyNextMessage(FullMsgId fullId, bool next) { const auto reply = [&](Element *view) { if (view) { const auto newFullId = view->data()->fullId(); + if (!view->data()->isRegular()) { + return replyNextMessage(newFullId, next); + } replyToMessageRequestNotify(newFullId); _requestedToShowMessage.fire_copy(newFullId); } else {