soc.2008.vv: 9e001630: Update Jingle implementation per recent ...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Sun Aug 3 23:20:38 EDT 2008


-----------------------------------------------------------------
Revision: 9e001630f434a5f95e5abc65a8c41359648a8eb1
Ancestor: 2b075cade5bcad8687da90b39fb8cb6b3fe9651e
Author: maiku at soc.pidgin.im
Date: 2008-08-03T23:31:48
Branch: im.pidgin.soc.2008.vv
URL: http://d.pidgin.im/viewmtn/revision/info/9e001630f434a5f95e5abc65a8c41359648a8eb1

Modified files:
        libpurple/protocols/jabber/jingle.c

ChangeLog: 

Update Jingle implementation per recent standard changes.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle.c	eb1e83a5cb33fcb6cd062ce338704b24c0127a56
+++ libpurple/protocols/jabber/jingle.c	3ddfae32b233f073ca1ac78e1720b29804fa2e26
@@ -459,7 +459,6 @@ jabber_jingle_session_add_description_vv
 {
 	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_create_session_ter
 		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));


More information about the Commits mailing list