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