diff --git a/Telegram/SourceFiles/boxes/peer_list_box.cpp b/Telegram/SourceFiles/boxes/peer_list_box.cpp index d3d089a32..c72c392a0 100644 --- a/Telegram/SourceFiles/boxes/peer_list_box.cpp +++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp @@ -1281,6 +1281,9 @@ void PeerListContent::clearAllContent() { = _normalizedSearchQuery = _mentionHighlight = QString(); + if (_controller->hasComplexSearch()) { + _controller->search(QString()); + } } void PeerListContent::convertRowToSearchResult(not_null row) {