summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2016-11-15 17:39:16 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2016-11-15 17:39:16 -0500
commitaf16393783770a8b7b1cda334fbaa530caa349bb (patch)
tree7cf7115ff27857afb758e6654e4ad887e104e168
parent20e71ec67ebb35fd180f083806fd6fe9ca94ea99 (diff)
downloadtelepathy-farstream-af16393783770a8b7b1cda334fbaa530caa349bb.tar.gz
python example: Update to latest spec
-rw-r--r--examples/python/util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/python/util.py b/examples/python/util.py
index bbad9c8..7bb9249 100644
--- a/examples/python/util.py
+++ b/examples/python/util.py
@@ -21,8 +21,10 @@ def call_state_to_s(state):
return {
CALL_STATE_UNKNOWN: 'Unknown',
CALL_STATE_PENDING_INITIATOR: 'Pending Initiator',
- CALL_STATE_PENDING_RECEIVER: 'Pending Receiver',
+ CALL_STATE_INITIALISING: 'Initialising',
+ CALL_STATE_INITIALISED: 'Initialised',
CALL_STATE_ACCEPTED: 'Accepted',
+ CALL_STATE_ACTIVE: 'Active',
CALL_STATE_ENDED: 'Ended'
}[state]