pidgin: 4356cc7f: jabber: Fix file transfer with clients t...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Dec 9 23:11:05 EST 2009


-----------------------------------------------------------------
Revision: 4356cc7feb044645d98b4ec0ce70476371949c99
Ancestor: f600b0f7b9a2c37bb1711a0ae48638829754ba66
Author: darkrain42 at pidgin.im
Date: 2009-12-10T03:25:14
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4356cc7feb044645d98b4ec0ce70476371949c99

Modified files:
        ChangeLog libpurple/protocols/jabber/si.c

ChangeLog: 

jabber: Fix file transfer with clients that don't support xep-0115.  Closes #10936

-------------- next part --------------
============================================================
--- ChangeLog	14e1a37110a7aac847f6358918778ec1d731d2d7
+++ ChangeLog	9ccdcafd7a205e15f91fc509a9e83ff2c8c69dbb
@@ -16,6 +16,8 @@ version 2.6.5 (??/??/20??):
 	  offline.
 	* Do not crash when attempting to register for a new account on Windows.
 	* Added support for Roster Versioning (XEP-0237).
+	* Fix file transfer with clients that do not support Entity Capabilities
+	  (e.g. Spark)
 
 version 2.6.4 (11/29/2009):
 	libpurple:
============================================================
--- libpurple/protocols/jabber/si.c	24a86e00c7202943b57a97818e6b4b8ae025fd88
+++ libpurple/protocols/jabber/si.c	13949ab5a82892daaf7fe1935d00b76e8ad9a8ca
@@ -1448,7 +1448,7 @@ static void do_transfer_send(PurpleXfer 
 	g_free(xfer->who);
 	xfer->who = who;
 
-	if (jbr) {
+	if (jbr && jbr->caps.info) {
 		char *msg;
 
 		if (jabber_resource_has_capability(jbr, NS_IBB))


More information about the Commits mailing list