Don't scroll dialogs up (support).

This commit is contained in:
John Preston 2018-10-07 22:27:36 +03:00
parent a27e9ad734
commit a0ff432ac8

View file

@ -232,6 +232,9 @@ void DialogsWidget::repaintDialogRow(
}
void DialogsWidget::dialogsToUp() {
if (Auth().supportMode()) {
return;
}
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
_scroll->scrollToY(0);
}