Delaying marking the channel as disconnected, hoping the FORWARDED gets in first...
authorEd Page <eopage@byu.net>
Wed, 27 Jan 2010 03:07:21 +0000 (21:07 -0600)
committerEd Page <eopage@byu.net>
Wed, 27 Jan 2010 03:07:21 +0000 (21:07 -0600)
src/channel/call.py

index cf025c8..5808d4e 100644 (file)
@@ -136,7 +136,7 @@ class CallChannel(
                self._conn.session.backend.call(contactNumber)
 
                streamId = 0
-               streamState = telepathy.constants.MEDIA_STREAM_STATE_DISCONNECTED
+               streamState = telepathy.constants.MEDIA_STREAM_STATE_CONNECTED
                streamDirection = telepathy.constants.MEDIA_STREAM_DIRECTION_BIDIRECTIONAL
                pendingSendFlags = telepathy.constants.MEDIA_STREAM_PENDING_REMOTE_SEND
                return [(streamId, contact, streamTypes[0], streamState, streamDirection, pendingSendFlags)]