From 4bc8e82ff63d6e8f3f758f8acde2c620a691d584 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Tue, 18 Jan 2022 02:33:06 +0100 Subject: [PATCH] ui-call-data: Don't use deprecated states in mapping For the UI we don't distinguish between dialing and alerting or between waiting and incoming. --- src/calls-ui-call-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calls-ui-call-data.c b/src/calls-ui-call-data.c index fb36fef..f5d3151 100644 --- a/src/calls-ui-call-data.c +++ b/src/calls-ui-call-data.c @@ -72,11 +72,11 @@ calls_state_to_cui_call_state (CallsCallState state) case CALLS_CALL_STATE_DIALING: return CUI_CALL_STATE_DIALING; case CALLS_CALL_STATE_ALERTING: - return CUI_CALL_STATE_ALERTING; + return CUI_CALL_STATE_DIALING; case CALLS_CALL_STATE_INCOMING: return CUI_CALL_STATE_INCOMING; case CALLS_CALL_STATE_WAITING: - return CUI_CALL_STATE_WAITING; + return CUI_CALL_STATE_INCOMING; case CALLS_CALL_STATE_DISCONNECTED: return CUI_CALL_STATE_DISCONNECTED; default: