mirror of
https://github.com/mollyim/mollyim-insider-android.git
synced 2025-05-13 05:40:53 +01:00
Prevent crash if linked device also raises their hand.
This commit is contained in:
parent
8365310bb5
commit
91bc43ff44
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue