Fix room list heroes label format

- change from `Alice, Bob and Charlie` to `Alice, Bob, Charlie and 42 others` (when applicable)
This commit is contained in:
Stefan Ceriu
2025-05-12 09:39:53 +03:00
parent 876618d557
commit e1984ccdc0
42 changed files with 569 additions and 534 deletions
@@ -270,6 +270,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
isDirect: roomInfo.isDirect,
avatarURL: roomInfo.avatarUrl.flatMap(URL.init(string:)),
heroes: roomInfo.heroes.map(UserProfileProxy.init),
activeMembersCount: UInt(roomInfo.activeMembersCount),
lastMessage: attributedLastMessage,
lastMessageDate: lastMessageDate,
unreadMessagesCount: UInt(roomInfo.numUnreadMessages),