diff --git a/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp index a4812fccdb..d8b92221ca 100644 --- a/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp +++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_search.cpp @@ -753,10 +753,10 @@ ComposeSearch::Inner::Inner( const auto goToMessage = [=](const FullMsgId &itemId) { const auto item = _history->owner().message(itemId); if (item) { - _window->jumpToChatListEntry({ - { item->history() }, - item->fullId(), - }); + _window->showPeerHistory( + item->history()->peer->id, + ::Window::SectionShow::Way::ClearStack, + item->fullId().msg); } };