Adds thread notification fields to RoomSummary
This commit is contained in:
parent
c2ae75d9bd
commit
a2382c6a01
@ -97,6 +97,14 @@ data class RoomSummary(
|
||||
* Number of unread and highlighted message in this room.
|
||||
*/
|
||||
val highlightCount: Int = 0,
|
||||
/**
|
||||
* Number of threads with unread messages in this room
|
||||
*/
|
||||
val threadNotificationCount: Int = 0,
|
||||
/**
|
||||
* Number of threads with highlighted messages in this room
|
||||
*/
|
||||
val threadHighlightCount: Int = 0,
|
||||
/**
|
||||
* True if this room has unread messages.
|
||||
*/
|
||||
|
@ -61,6 +61,8 @@ internal class RoomSummaryMapper @Inject constructor(
|
||||
otherMemberIds = roomSummaryEntity.otherMemberIds.toList(),
|
||||
highlightCount = roomSummaryEntity.highlightCount,
|
||||
notificationCount = roomSummaryEntity.notificationCount,
|
||||
threadHighlightCount = roomSummaryEntity.threadHighlightCount,
|
||||
threadNotificationCount = roomSummaryEntity.threadNotificationCount,
|
||||
hasUnreadMessages = roomSummaryEntity.hasUnreadMessages,
|
||||
tags = tags,
|
||||
typingUsers = typingUsers,
|
||||
|
Loading…
x
Reference in New Issue
Block a user