2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Fix search from user in a group.

This commit is contained in:
John Preston
2018-06-04 21:32:13 +03:00
parent a2d4b9260e
commit 5a63fc7bbb

View File

@@ -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);