From: Ed Page Date: Wed, 27 Jan 2010 03:07:21 +0000 (-0600) Subject: Delaying marking the channel as disconnected, hoping the FORWARDED gets in first... X-Git-Url: http://git.maemo.org/git/?p=theonering;a=commitdiff_plain;h=dfe2766d6f331f8bc229d5b04963f80277d96458 Delaying marking the channel as disconnected, hoping the FORWARDED gets in first on some clients --- diff --git a/src/channel/call.py b/src/channel/call.py index cf025c8..5808d4e 100644 --- a/src/channel/call.py +++ b/src/channel/call.py @@ -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)]