mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
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;
|
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…
x
Reference in New Issue
Block a user