diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-03-05 13:07:03 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-03-14 18:08:50 -0400 |
commit | 7358f2ad6fd53652d5ed0c008b7f3876a6ae5fa7 (patch) | |
tree | 20864419fa4679cfaa949d4f757e6ceadd52ec65 /telepathy-glib/base-media-call-stream.c | |
parent | ff2e7f25e366c94d8bf41134cce8a65daf16cc18 (diff) | |
download | telepathy-glib-7358f2ad6fd53652d5ed0c008b7f3876a6ae5fa7.tar.gz |
BaseMediaCallStream: Never start sending until a call is accepted
Diffstat (limited to 'telepathy-glib/base-media-call-stream.c')
-rw-r--r-- | telepathy-glib/base-media-call-stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/base-media-call-stream.c b/telepathy-glib/base-media-call-stream.c index 092a7b6c3..0fdfa1567 100644 --- a/telepathy-glib/base-media-call-stream.c +++ b/telepathy-glib/base-media-call-stream.c @@ -842,6 +842,9 @@ tp_base_media_call_stream_update_sending_state (TpBaseMediaCallStream *self) goto done; } + if (!tp_base_call_channel_is_accepted (TP_BASE_CALL_CHANNEL (channel))) + goto done; + if (self->priv->remotely_held) goto done; |