libpurple/protocols/jabber/jingle.c

branch
soc.2008.vv
changeset 26104
fa46c1601fa3
parent 26102
881a436d77eb
child 26108
8d0fd2f195aa
--- a/libpurple/protocols/jabber/jingle.c	Wed Jul 23 22:34:22 2008 +0000
+++ b/libpurple/protocols/jabber/jingle.c	Sun Aug 03 23:31:48 2008 +0000
@@ -459,7 +459,6 @@
 {
 	xmlnode_set_attrib(description, "media", 
 			jabber_jingle_session_content_get_subtype(jsc));
-	xmlnode_set_attrib(description, "profile", "RTP/AVP");
 	return description;
 }
 
@@ -748,8 +747,7 @@
 		jabber_jingle_session_add_jingle(sess, request,
 						 "session-terminate");
 	xmlnode *reason = xmlnode_new_child(jingle, "reason");
-	xmlnode *condition = xmlnode_new_child(reason, "condition");
-	xmlnode_new_child(condition, reasoncode);
+	xmlnode_new_child(reason, reasoncode);
 	if (reasontext) {
 		xmlnode *text = xmlnode_new_child(reason, "text");
 		xmlnode_insert_data(text, reasontext, strlen(reasontext));

mercurial