Skip to content

Commit

Permalink
Clarify logging around group ring state.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal committed Apr 6, 2023
1 parent 372c6f6 commit cd5c253
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,8 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl
dateReceived: Long,
ringState: RingUpdate
) {
Log.d(TAG, "Processing group ring state update for $ringId in state $ringState")

val call = getCallById(ringId)
if (call != null) {
if (call.event == Event.DELETE) {
Expand Down Expand Up @@ -628,7 +630,7 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl
.run()
}

Log.d(TAG, "Inserted a new call event for $callId with event $event")
Log.d(TAG, "Inserted a new group ring event for $callId with event $event")
}

fun setTimestamp(callId: Long, timestamp: Long) {
Expand Down

0 comments on commit cd5c253

Please sign in to comment.