telepathy-farstream: python example: Update to latest spec

Olivier CrĂȘte tester at kemper.freedesktop.org
Wed Nov 16 22:16:15 UTC 2016


Module: telepathy-farstream
Branch: master
Commit: af16393783770a8b7b1cda334fbaa530caa349bb
URL:    http://cgit.freedesktop.org/telepathy/telepathy-farstream/commit/?id=af16393783770a8b7b1cda334fbaa530caa349bb

Author: Olivier CrĂȘte <olivier.crete at collabora.com>
Date:   Tue Nov 15 17:39:16 2016 -0500

python example: Update to latest spec

---

 examples/python/util.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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]
 



More information about the telepathy-commits mailing list