Do not show outgoing calls in missed call filter.

This commit is contained in:
Alex Hart
2025-03-19 11:45:42 -03:00
committed by Cody Henthorne
parent f0e6b2944a
commit 80fc40bbc2

View File

@@ -123,7 +123,7 @@ class CallEventCache(
}
private fun isMissedCall(call: CacheRecord): Boolean {
return call.event in MISSED_CALL_EVENTS || isMissedGroupCall(call)
return (call.direction == Direction.serialize(CallTable.Direction.INCOMING) && call.event in MISSED_CALL_EVENTS) || isMissedGroupCall(call)
}
private fun isEventMatch(parent: CacheRecord, child: CacheRecord): Boolean {