mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-28 01:23:09 +00:00
Fix search from user in a group.
This commit is contained in:
parent
a2d4b9260e
commit
5a63fc7bbb
@ -999,7 +999,7 @@ void DialogsWidget::onFilterUpdate(bool force) {
|
|||||||
|
|
||||||
auto filterText = _filter->getLastText();
|
auto filterText = _filter->getLastText();
|
||||||
_inner->onFilterUpdate(filterText, force);
|
_inner->onFilterUpdate(filterText, force);
|
||||||
if (filterText.isEmpty()) {
|
if (filterText.isEmpty() && !_searchFromUser) {
|
||||||
clearSearchCache();
|
clearSearchCache();
|
||||||
}
|
}
|
||||||
_cancelSearch->toggle(!filterText.isEmpty(), anim::type::normal);
|
_cancelSearch->toggle(!filterText.isEmpty(), anim::type::normal);
|
||||||
|
Loading…
Reference in New Issue
Block a user