Set raised hand list to be distinct by RecipientID.
This commit is contained in:
parent
a9a19d3ae0
commit
b6db3802d3
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ data class CallParticipantsState(
|
|||
get() {
|
||||
val results = allRemoteParticipants.asSequence()
|
||||
.filter { it.isHandRaised }
|
||||
.distinctBy { it.recipient }
|
||||
.distinctBy { it.recipient.id }
|
||||
.map { GroupCallRaiseHandEvent(it.recipient, it.handRaisedTimestamp) }
|
||||
.sortedBy { it.timestamp }
|
||||
.toMutableList()
|
||||
|
|
Loading…
Add table
Reference in a new issue