Change type of items in activeRoomCallParticipants from String to UserId

This commit is contained in:
Benoit Marty 2024-09-12 13:59:17 +02:00 committed by Benoit Marty
parent 7903223585
commit 97f0b65c03
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ class MatrixRoomInfoMapper {
notificationCount = it.notificationCount.toLong(),
userDefinedNotificationMode = it.cachedUserDefinedNotificationMode?.map(),
hasRoomCall = it.hasRoomCall,
activeRoomCallParticipants = it.activeRoomCallParticipants.toImmutableList(),
activeRoomCallParticipants = it.activeRoomCallParticipants.map(::UserId).toImmutableList(),
heroes = it.elementHeroes().toImmutableList(),
pinnedEventIds = it.pinnedEventIds.map(::EventId).toImmutableList(),
)