changeset 26370:c8d8624efd04

Make Jingle Raw-Udp send candidates in session-accept packet.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Tue, 17 Mar 2009 12:05:02 +0000
parents 26cf297796a5
children 20062fbc8684
files libpurple/protocols/jabber/jingle/rawudp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/rawudp.c	Tue Mar 17 11:57:22 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/rawudp.c	Tue Mar 17 12:05:02 2009 +0000
@@ -297,7 +297,9 @@
 {
 	xmlnode *node = parent_class->to_xml(transport, content, action);
 
-	if (action == JINGLE_SESSION_INITIATE || action == JINGLE_TRANSPORT_INFO) {
+	if (action == JINGLE_SESSION_INITIATE ||
+			action == JINGLE_TRANSPORT_INFO ||
+			action == JINGLE_SESSION_ACCEPT) {
 		JingleRawUdpPrivate *priv = JINGLE_RAWUDP_GET_PRIVATE(transport);
 		GList *iter = priv->local_candidates;