Fix group call ring state for some calls.

This commit is contained in:
Alex Hart
2023-05-04 13:31:09 -03:00
parent a1c807d65b
commit e0bda8cf53

View File

@@ -518,7 +518,7 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl
fun isRingCancelled(ringId: Long, groupRecipientId: RecipientId): Boolean {
val call = getCallById(ringId, CallConversationId.Peer(groupRecipientId)) ?: return false
return call.event != Event.RINGING
return call.event != Event.RINGING && call.event != Event.GENERIC_GROUP_CALL
}
private fun handleGroupRingState(