From 8543fc7ab5db88f7a73bff8733f3c47ac23f2f65 Mon Sep 17 00:00:00 2001
From: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Date: Mon, 31 Jan 2022 15:25:46 +0100
Subject: [PATCH] Update libcallui subproject and adjust to CuiCallState
 changes

We already had our mapping between CallsCallStates and CuiCallStates in place,
but the _DIALING state got renamed to _CALLING.

Additionally bundle CallsCallStates that map to the same CuiCallState to remove
some code.
---
 src/calls-ui-call-data.c | 4 +---
 subprojects/libcall-ui   | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/calls-ui-call-data.c b/src/calls-ui-call-data.c
index dc8407f..58d7f3d 100644
--- a/src/calls-ui-call-data.c
+++ b/src/calls-ui-call-data.c
@@ -388,11 +388,9 @@ calls_call_state_to_cui_call_state (CallsCallState state)
   case CALLS_CALL_STATE_HELD:
     return CUI_CALL_STATE_HELD;
   case CALLS_CALL_STATE_DIALING:
-    return CUI_CALL_STATE_DIALING;
   case CALLS_CALL_STATE_ALERTING:
-    return CUI_CALL_STATE_DIALING;
+    return CUI_CALL_STATE_CALLING;
   case CALLS_CALL_STATE_INCOMING:
-    return CUI_CALL_STATE_INCOMING;
   case CALLS_CALL_STATE_WAITING:
     return CUI_CALL_STATE_INCOMING;
   case CALLS_CALL_STATE_DISCONNECTED:
diff --git a/subprojects/libcall-ui b/subprojects/libcall-ui
index 8efceac..bc49033 160000
--- a/subprojects/libcall-ui
+++ b/subprojects/libcall-ui
@@ -1 +1 @@
-Subproject commit 8efceacfc01962787638b41fa56ef6674ffe5b4e
+Subproject commit bc4903329a2bfbc306e883016526ac83730503cb