Don't scroll down when read from another device.

This commit is contained in:
John Preston 2020-04-13 14:50:38 +04:00
parent 63129072ba
commit b16696db93
1 changed files with 0 additions and 3 deletions

View File

@ -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)) {