Use new Rust fields numUnreadMessages and numUnreadMentions, and iterate on the room badge rendering.

This commit is contained in:
Benoit Marty
2024-01-19 17:48:26 +01:00
committed by Benoit Marty
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,
)
)