diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt index b9bfe41d20..1bfc9cc384 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt @@ -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 }