# HG changeset patch # User Mike Ruprecht # Date 1217806308 0 # Node ID 97f3a3409a1d552cd4c3131524f0c225352cc19e # Parent 4eae2d40f11b389da3023f5595c652ddc1d210c3 Update Jingle implementation per recent standard changes. diff -r 4eae2d40f11b -r 97f3a3409a1d libpurple/protocols/jabber/jingle.c --- 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));