mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Don't scroll down when read from another device.
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user