mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix coloring on outgoing calls.
This commit is contained in:
@@ -1419,7 +1419,7 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl
|
|||||||
companion object Deserializer : Serializer<Call, Cursor> {
|
companion object Deserializer : Serializer<Call, Cursor> {
|
||||||
|
|
||||||
private fun isDisplayedAsMissedCallInUi(call: Call): Boolean {
|
private fun isDisplayedAsMissedCallInUi(call: Call): Boolean {
|
||||||
return call.event in Event.DISPLAY_AS_MISSED_CALL || (call.event == Event.GENERIC_GROUP_CALL && !call.didLocalUserJoin && !call.isGroupCallActive)
|
return call.direction == Direction.INCOMING && (call.event in Event.DISPLAY_AS_MISSED_CALL || (call.event == Event.GENERIC_GROUP_CALL && !call.didLocalUserJoin && !call.isGroupCallActive))
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getMessageType(type: Type, direction: Direction, event: Event): Long {
|
fun getMessageType(type: Type, direction: Direction, event: Event): Long {
|
||||||
|
|||||||
Reference in New Issue
Block a user