mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Set raised hand list to be distinct by RecipientID.
This commit is contained in:
committed by
Alex Hart
parent
a9a19d3ae0
commit
b6db3802d3
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user