Use new Rust fields numUnreadMessages and numUnreadMentions, and iterate on the room badge rendering.
This commit is contained in:
parent
bee56c83ae
commit
dd12071ea2
12 changed files with 159 additions and 62 deletions
|
|
@ -40,7 +40,8 @@ data class RoomSummaryDetails(
|
|||
val isDirect: Boolean,
|
||||
val avatarUrl: String?,
|
||||
val lastMessage: RoomMessage?,
|
||||
val unreadNotificationCount: Int,
|
||||
val numUnreadMessages: Int,
|
||||
val numUnreadMentions: Int,
|
||||
val inviter: RoomMember?,
|
||||
val userDefinedNotificationMode: RoomNotificationMode?,
|
||||
val hasRoomCall: Boolean,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue