diff --git a/Telegram/SourceFiles/window/window_peer_menu.cpp b/Telegram/SourceFiles/window/window_peer_menu.cpp index b610c07a6..9d01be276 100644 --- a/Telegram/SourceFiles/window/window_peer_menu.cpp +++ b/Telegram/SourceFiles/window/window_peer_menu.cpp @@ -1999,6 +1999,10 @@ QPointer ShowForwardMessagesBox( }) { } + void setSearchNoResultsText(const QString &text) { + PeerListController::setSearchNoResultsText(text); + } + void rowClicked(not_null row) override final { const auto count = delegate()->peerListSelectedRowsCount(); if (showLockedError(row) || (count && row->peer()->isForum())) { @@ -2053,6 +2057,8 @@ QPointer ShowForwardMessagesBox( auto controller = std::make_unique(session); const auto controllerRaw = controller.get(); auto init = [=](not_null box) { + controllerRaw->setSearchNoResultsText( + tr::lng_bot_chats_not_found(tr::now)); box->setSpecialTabMode(true); auto applyFilter = [=](FilterId id) { box->scrollToY(0);