mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-27 09:03:02 +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();
|
||||
_inner->onFilterUpdate(filterText, force);
|
||||
if (filterText.isEmpty()) {
|
||||
if (filterText.isEmpty() && !_searchFromUser) {
|
||||
clearSearchCache();
|
||||
}
|
||||
_cancelSearch->toggle(!filterText.isEmpty(), anim::type::normal);
|
||||
|
Loading…
Reference in New Issue
Block a user