changeset 25714:97f3a3409a1d

Update Jingle implementation per recent standard changes.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sun, 03 Aug 2008 23:31:48 +0000
parents 4eae2d40f11b
children b8a73b6dc0a4
files libpurple/protocols/jabber/jingle.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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));