Fix jump to top on a new message send.

This commit is contained in:
John Preston 2023-06-30 20:43:18 +04:00
parent fcc15dd52d
commit e66d9d5d24
1 changed files with 1 additions and 1 deletions

View File

@ -1111,7 +1111,7 @@ void Widget::jumpToTop(bool belowPinned) {
return;
}
if ((currentSearchQuery().trimmed().isEmpty() && !_searchInChat)) {
auto to = 0;
auto to = _inner->defaultScrollTop();
if (belowPinned) {
const auto list = _openedForum
? _openedForum->topicsList()