2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Refresh filtered results on more dialogs.

This commit is contained in:
John Preston
2018-12-29 12:11:54 +04:00
parent df389a365c
commit 219b824338
8 changed files with 50 additions and 30 deletions

View File

@@ -1598,7 +1598,7 @@ void DialogsInner::handlePeerNameChange(
update();
}
void DialogsInner::onFilterUpdate(QString newFilter, bool force) {
void DialogsInner::applyFilterUpdate(QString newFilter, bool force) {
const auto mentionsSearch = (newFilter == qstr("@"));
const auto words = mentionsSearch
? QStringList(newFilter)