diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 20de9f9f75..022e624c60 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -2978,6 +2978,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { [=] { const auto cur = HistoryView::CurrentVoiceTimecode(msgId); + _widget->replyToMessage({ .messageId = msgId }); _widget->insertTextAtCursor(cur.value_or(*t)); }); } diff --git a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp index d496468d03..aeb9794c07 100644 --- a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp +++ b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp @@ -1369,6 +1369,9 @@ void FillContextMenuItems( [=] { const auto tc = CurrentVoiceTimecode(msgId); if (const auto strong = weak.get()) { + strong->replyToMessageRequestNotify( + { .messageId = msgId }, + base::IsCtrlPressed()); strong->insertTextAtCursor( tc.value_or(*timecode)); }