mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Fix unread badges for new dialogs.
This commit is contained in:
@@ -2731,7 +2731,7 @@ void History::applyDialogFields(
|
|||||||
clearFolder();
|
clearFolder();
|
||||||
}
|
}
|
||||||
if (!skipUnreadUpdate()
|
if (!skipUnreadUpdate()
|
||||||
&& maxInboxRead >= _inboxReadBefore.value_or(1)) {
|
&& maxInboxRead + 1 >= _inboxReadBefore.value_or(1)) {
|
||||||
setUnreadCount(unreadCount);
|
setUnreadCount(unreadCount);
|
||||||
setInboxReadTill(maxInboxRead);
|
setInboxReadTill(maxInboxRead);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user