Fix jump to top on a new message send.
This commit is contained in:
parent
fcc15dd52d
commit
e66d9d5d24
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue