mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't jump to unread from chat bottom (support).
This commit is contained in:
parent
a0ff432ac8
commit
ee8819681f
1 changed files with 3 additions and 0 deletions
|
@ -5033,6 +5033,9 @@ int HistoryWidget::countAutomaticScrollTop() {
|
||||||
setMsgId(ShowAtUnreadMsgId);
|
setMsgId(ShowAtUnreadMsgId);
|
||||||
result = countInitialScrollTop();
|
result = countInitialScrollTop();
|
||||||
App::wnd()->checkHistoryActivation();
|
App::wnd()->checkHistoryActivation();
|
||||||
|
if (Auth().supportMode()) {
|
||||||
|
history->unsetFirstUnreadMessage();
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue