cpw.malu.xmpp.jingle_ft: 8e5c57ab: Don't send a <close/> when destroying th..

malu at pidgin.im malu at pidgin.im
Fri Mar 20 18:15:43 EDT 2009

Revision: 8e5c57ab03ceec70744398a05c47c77e8a668ad0
Ancestor: 1cbc5ea7e93d86b38b203b1d75e0fafa2e1a9106
Author: malu at pidgin.im
Date: 2009-03-20T22:10:11
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/8e5c57ab03ceec70744398a05c47c77e8a668ad0

Modified files:


Don't send a <close/> when destroying the IBB session from within a jingle
file transfer, since session handling will be done using jingle

-------------- next part --------------
--- libpurple/protocols/jabber/jingle/ibbs.c	26a23413ae35e1967e74496adbe5179efe7fdca3
+++ libpurple/protocols/jabber/jingle/ibbs.c	a788c003e6225e37d2b584d16d9ca802b3621221
@@ -110,7 +110,9 @@ jingle_ibb_finalize (GObject *ibb)
 	if (priv->session) {
-		/* should manually close the IBB session */
+		/* set the session's state to closed, this will prevent IBB from
+		 sending <close/>, since terminate is handled by jingle */
+		jabber_ibb_session_set_state(priv->session, JABBER_IBB_SESSION_CLOSED);
 		priv->session = NULL;

More information about the Commits mailing list