diff --git a/Telegram/SourceFiles/history/history.cpp b/Telegram/SourceFiles/history/history.cpp index bbe4cbd93..7b0767027 100644 --- a/Telegram/SourceFiles/history/history.cpp +++ b/Telegram/SourceFiles/history/history.cpp @@ -2731,7 +2731,7 @@ void History::applyDialogFields( clearFolder(); } if (!skipUnreadUpdate() - && maxInboxRead >= _inboxReadBefore.value_or(1)) { + && maxInboxRead + 1 >= _inboxReadBefore.value_or(1)) { setUnreadCount(unreadCount); setInboxReadTill(maxInboxRead); }