mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Add new state transitions for group call disposition.
This commit is contained in:
@@ -1317,10 +1317,10 @@ object SyncMessageProcessor {
|
||||
if (call.timestamp > timestamp) {
|
||||
SignalDatabase.calls.setTimestamp(call.callId, recipient.id, timestamp)
|
||||
}
|
||||
if (callEvent.direction == SyncMessage.CallEvent.Direction.INCOMING) {
|
||||
if (direction == CallTable.Direction.INCOMING) {
|
||||
SignalDatabase.calls.acceptIncomingGroupCall(call)
|
||||
} else {
|
||||
warn(envelopeTimestamp, "Invalid direction OUTGOING for event ACCEPTED")
|
||||
SignalDatabase.calls.acceptOutgoingGroupCall(call)
|
||||
}
|
||||
}
|
||||
CallTable.Event.NOT_ACCEPTED -> {
|
||||
|
||||
Reference in New Issue
Block a user