Fix wrong notification count calculation
Change-Id: Ia136933c3afe60a99362076566b6a5991f4a1ac7
This commit is contained in:
parent
ad8751cd99
commit
e1546cec06
@ -400,7 +400,7 @@ internal class RoomSummaryUpdater @Inject constructor(
|
||||
highlightCount += it.highlightCount
|
||||
notificationCount += it.notificationCount
|
||||
unreadCount += it.unreadCount
|
||||
aggregateNotificationCount += min(it.highlightCount, 1)
|
||||
aggregateNotificationCount += min(it.notificationCount, 1)
|
||||
aggregateUnreadCount += min(it.unreadCount, 1)
|
||||
markedUnreadCount += if (it.markedUnread) 1 else 0
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user