mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Don't scroll down when read from another device.
This commit is contained in:
parent
63129072ba
commit
b16696db93
1 changed files with 0 additions and 3 deletions
|
@ -1706,9 +1706,6 @@ void History::applyInboxReadUpdate(
|
|||
}
|
||||
|
||||
void History::inboxRead(MsgId upTo, std::optional<int> stillUnread) {
|
||||
if (unreadCount() > 0 && loadedAtBottom()) {
|
||||
App::main()->historyToDown(this);
|
||||
}
|
||||
if (stillUnread.has_value() && folderKnown()) {
|
||||
setUnreadCount(*stillUnread);
|
||||
} else if (const auto still = countStillUnreadLocal(upTo)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue