mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Prevent crash if linked device also raises their hand.
This commit is contained in:
committed by
Cody Henthorne
parent
4151d123cd
commit
fdf858f379
@@ -60,6 +60,7 @@ data class CallParticipantsState(
|
||||
.sortedBy { it.timestamp }
|
||||
.toMutableList()
|
||||
if (localParticipant.isHandRaised) {
|
||||
results.removeIf { it.sender.id == localParticipant.recipient.id }
|
||||
results.add(GroupCallRaiseHandEvent(localParticipant.recipient, localParticipant.handRaisedTimestamp))
|
||||
}
|
||||
return results.toImmutableList()
|
||||
|
||||
Reference in New Issue
Block a user