From dfe2766d6f331f8bc229d5b04963f80277d96458 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 26 Jan 2010 21:07:21 -0600 Subject: [PATCH] Delaying marking the channel as disconnected, hoping the FORWARDED gets in first on some clients --- src/channel/call.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- 1.7.9.5