From d704ba7fc282f19b98bc31085145502a7251fafc Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 19 Aug 2009 17:46:33 -0500 Subject: Make sure call history handles waiting calls Missed waiting calls were not being handled properly --- src/voicecall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/voicecall.c b/src/voicecall.c index 47e293b5..35ffe59e 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1224,7 +1224,8 @@ void ofono_voicecall_disconnected(struct ofono_voicecall *vc, int id, /* TODO: Emit disconnect reason */ voicecall_set_call_status(call, CALL_STATUS_DISCONNECTED); - if (prev_status == CALL_STATUS_INCOMING) + if (prev_status == CALL_STATUS_INCOMING || + prev_status == CALL_STATUS_WAITING) __ofono_history_call_missed(modem, call->call, ts); else __ofono_history_call_ended(modem, call->call, -- cgit v1.2.3