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
|
|
@ -431,7 +431,6 @@ class InviteListPresenterTests {
|
|||
avatarUrl = null,
|
||||
isDirect = false,
|
||||
lastMessage = null,
|
||||
unreadNotificationCount = 0,
|
||||
inviter = RoomMember(
|
||||
userId = A_USER_ID,
|
||||
displayName = A_USER_NAME,
|
||||
|
|
@ -459,7 +458,6 @@ class InviteListPresenterTests {
|
|||
avatarUrl = null,
|
||||
isDirect = true,
|
||||
lastMessage = null,
|
||||
unreadNotificationCount = 0,
|
||||
inviter = RoomMember(
|
||||
userId = A_USER_ID,
|
||||
displayName = A_USER_NAME,
|
||||
|
|
@ -484,7 +482,6 @@ class InviteListPresenterTests {
|
|||
avatarUrl = null,
|
||||
isDirect = false,
|
||||
lastMessage = null,
|
||||
unreadNotificationCount = 0,
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue