mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-28 16:29:53 +00:00
Fix search from user in a group.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user