[telepathy-gabble/telepathy-gabble-0.8] Parse transport node on accept to get candidates

Sjoerd Simons sjoerd.simons at collabora.co.uk
Sun Sep 20 06:45:02 PDT 2009


---
 src/jingle-content.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/jingle-content.c b/src/jingle-content.c
index ce0b01e..cac4c74 100644
--- a/src/jingle-content.c
+++ b/src/jingle-content.c
@@ -619,6 +619,12 @@ gabble_jingle_content_parse_accept (GabbleJingleContent *c,
 
   priv->state = JINGLE_CONTENT_STATE_ACKNOWLEDGED;
   g_object_notify ((GObject *) c, "state");
+
+  if (trans_node != NULL)
+    {
+      gabble_jingle_transport_iface_parse_candidates (priv->transport,
+        trans_node, NULL);
+    }
 }
 
 void
-- 
1.5.6.5




More information about the telepathy-commits mailing list