Add heroes to RoomSummaryDetails

This commit is contained in:
Benoit Marty 2024-06-20 11:59:38 +02:00
parent a0f21d0b63
commit a199a8605f
4 changed files with 9 additions and 0 deletions

View file

@ -49,6 +49,7 @@ class RoomSummaryDetailsFactory(private val roomMessageFactory: RoomMessageFacto
isDm = roomInfo.isDirect && roomInfo.activeMembersCount.toLong() == 2L,
isFavorite = roomInfo.isFavourite,
currentUserMembership = roomInfo.membership.map(),
heroes = roomInfo.heroes.map { it.map() },
)
}
}