mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-18 17:40:59 +00:00
Fix unread badges for new dialogs.
This commit is contained in:
parent
3e3696298f
commit
b5ad3e7724
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user