summaryrefslogtreecommitdiffstats
path: root/app/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/api')
-rw-r--r--app/api/Telephony.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/api/Telephony.qml b/app/api/Telephony.qml
index b42af4f..c7d9218 100644
--- a/app/api/Telephony.qml
+++ b/app/api/Telephony.qml
@@ -65,7 +65,9 @@ WebSocket {
callClipColp = data.colp
callStatus = "dialing"
} else if (event == "telephony/terminatedCall") {
- callStatus = "idle"
+ callStatus = "disconnected"
+ } else if (event == "telephony/callStateChanged") {
+ callStatus = data.state
}
break
}