2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 00:25:17 +00:00

Show small unread mark for non-opened topics.

This commit is contained in:
John Preston
2022-11-15 19:49:14 +04:00
parent ce631436bf
commit bb106b07af
3 changed files with 29 additions and 1 deletions

View File

@@ -750,6 +750,7 @@ Dialogs::BadgesState ForumTopic::chatListBadgesState() const {
if (!result.unread && _replies->inboxReadTillId() < 2) {
result.unread = channel()->amIn()
&& (_lastKnownServerMessageId > history()->inboxReadTillId());
result.unreadMuted = muted();
}
return result;
}