Improve Raise Hand behavior when in a call with a linked device.

This commit is contained in:
Nicholas Tinsley
2024-06-07 13:53:58 -04:00
parent 543a85316e
commit 57b6b8dcf1
4 changed files with 32 additions and 28 deletions

View File

@@ -5,10 +5,10 @@
package org.thoughtcrime.securesms.events
import org.thoughtcrime.securesms.recipients.Recipient
import java.util.concurrent.TimeUnit
data class GroupCallRaiseHandEvent(val sender: Recipient, val timestamp: Long) {
data class GroupCallRaiseHandEvent(val sender: CallParticipant, val timestamp: Long) {
fun getCollapseTimestamp(): Long {
return timestamp + TimeUnit.SECONDS.toMillis(LIFESPAN_SECONDS)
}