From 393f330d15c6c0412ed85d465b6269971b277b7d Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 16 Mar 2024 04:38:43 +0300 Subject: [PATCH] Added ability to go to message from Calls box. --- Telegram/SourceFiles/calls/calls_box_controller.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Telegram/SourceFiles/calls/calls_box_controller.cpp b/Telegram/SourceFiles/calls/calls_box_controller.cpp index 11c6347d5d..a3d0d53694 100644 --- a/Telegram/SourceFiles/calls/calls_box_controller.cpp +++ b/Telegram/SourceFiles/calls/calls_box_controller.cpp @@ -572,6 +572,11 @@ base::unique_qptr BoxController::rowContextMenu( _window->show( Box(session, base::duplicate(ids))); }, &st::menuIconDelete); + result->addAction(tr::lng_context_to_msg(tr::now), [=, window = _window] { + if (const auto item = session->data().message(ids.front())) { + window->showMessage(item); + } + }, &st::menuIconShowInChat); return result; }