summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-call-content.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-12-26 20:56:50 -0500
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-01-10 09:52:46 +0100
commitaae1ccf8c6fde76f7728aa921d0bacb138ad5440 (patch)
treefa6ee3c2df93532a60e167f2b2e79919541716e3 /telepathy-glib/base-call-content.c
parent8aa61104494698debae8df3c11bc9df672c6dbc9 (diff)
downloadtelepathy-glib-aae1ccf8c6fde76f7728aa921d0bacb138ad5440.tar.gz
Set the sending and receiving directions correctly
Diffstat (limited to 'telepathy-glib/base-call-content.c')
-rw-r--r--telepathy-glib/base-call-content.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/telepathy-glib/base-call-content.c b/telepathy-glib/base-call-content.c
index 6612359a9..c931376a7 100644
--- a/telepathy-glib/base-call-content.c
+++ b/telepathy-glib/base-call-content.c
@@ -726,8 +726,9 @@ _tp_base_call_content_accepted (TpBaseCallContent *self,
if (tp_base_call_stream_get_local_sending_state (s) ==
TP_SENDING_STATE_PENDING_SEND)
- _tp_base_call_stream_set_sending (s, TRUE, actor_handle,
+ tp_base_call_stream_update_local_sending_state (s,
+ TP_SENDING_STATE_SENDING, actor_handle,
TP_CALL_STATE_CHANGE_REASON_USER_REQUESTED, "",
- "User accepted the Call", NULL);
+ "User accepted the Call");
}
}