mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix jump to top on a new message send.
This commit is contained in:
parent
fcc15dd52d
commit
e66d9d5d24
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ void Widget::jumpToTop(bool belowPinned) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((currentSearchQuery().trimmed().isEmpty() && !_searchInChat)) {
|
if ((currentSearchQuery().trimmed().isEmpty() && !_searchInChat)) {
|
||||||
auto to = 0;
|
auto to = _inner->defaultScrollTop();
|
||||||
if (belowPinned) {
|
if (belowPinned) {
|
||||||
const auto list = _openedForum
|
const auto list = _openedForum
|
||||||
? _openedForum->topicsList()
|
? _openedForum->topicsList()
|
||||||
|
|
Loading…
Add table
Reference in a new issue