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.
|
* Number of unread and highlighted message in this room.
|
||||||
*/
|
*/
|
||||||
val highlightCount: Int = 0,
|
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.
|
* True if this room has unread messages.
|
||||||
*/
|
*/
|
||||||
|
@ -61,6 +61,8 @@ internal class RoomSummaryMapper @Inject constructor(
|
|||||||
otherMemberIds = roomSummaryEntity.otherMemberIds.toList(),
|
otherMemberIds = roomSummaryEntity.otherMemberIds.toList(),
|
||||||
highlightCount = roomSummaryEntity.highlightCount,
|
highlightCount = roomSummaryEntity.highlightCount,
|
||||||
notificationCount = roomSummaryEntity.notificationCount,
|
notificationCount = roomSummaryEntity.notificationCount,
|
||||||
|
threadHighlightCount = roomSummaryEntity.threadHighlightCount,
|
||||||
|
threadNotificationCount = roomSummaryEntity.threadNotificationCount,
|
||||||
hasUnreadMessages = roomSummaryEntity.hasUnreadMessages,
|
hasUnreadMessages = roomSummaryEntity.hasUnreadMessages,
|
||||||
tags = tags,
|
tags = tags,
|
||||||
typingUsers = typingUsers,
|
typingUsers = typingUsers,
|
||||||
|
Loading…
Reference in New Issue
Block a user