Remove obsolete TODO
This commit is contained in:
parent
e759dca9db
commit
2b98a26694
1 changed files with 1 additions and 4 deletions
|
|
@ -49,13 +49,10 @@ class DefaultSummaryGroupMessageCreator(
|
|||
val summaryIsNoisy = roomNotifications.any { it.shouldBing } ||
|
||||
invitationNotifications.any { it.isNoisy } ||
|
||||
simpleNotifications.any { it.isNoisy }
|
||||
|
||||
val lastMessageTimestamp = roomNotifications.lastOrNull()?.latestTimestamp
|
||||
?: invitationNotifications.lastOrNull()?.timestamp
|
||||
?: simpleNotifications.last().timestamp
|
||||
|
||||
// FIXME roomIdToEventMap.size is not correct, this is the number of rooms
|
||||
val nbEvents = roomNotifications.size + simpleNotifications.size
|
||||
val nbEvents = roomNotifications.size + invitationNotifications.size + simpleNotifications.size
|
||||
val sumTitle = stringProvider.getQuantityString(R.plurals.notification_compat_summary_title, nbEvents, nbEvents)
|
||||
return notificationCreator.createSummaryListNotification(
|
||||
notificationAccountParams = notificationAccountParams,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue