Fix possible crash in Forward folders switch.

This commit is contained in:
John Preston 2024-12-20 21:23:30 +04:00
parent a74ee911b3
commit 17181cee8f

View file

@ -1281,6 +1281,9 @@ void PeerListContent::clearAllContent() {
= _normalizedSearchQuery
= _mentionHighlight
= QString();
if (_controller->hasComplexSearch()) {
_controller->search(QString());
}
}
void PeerListContent::convertRowToSearchResult(not_null<PeerListRow*> row) {