changeset 28862:bc4401ae1ab1

*** Plucked rev 4356cc7feb044645d98b4ec0ce70476371949c99 (f05c54b03e6bbfdbff38c01697fbd353a969e05e): jabber: Fix file transfer with clients that don't support xep-0115. Closes #10936
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 07 Jan 2010 23:46:01 +0000
parents 1428d59119cd
children 1182e604439c
files ChangeLog libpurple/protocols/jabber/si.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 07 23:44:38 2010 +0000
+++ b/ChangeLog	Thu Jan 07 23:46:01 2010 +0000
@@ -11,6 +11,8 @@
 
 	XMPP:
 	* Do not crash when attempting to register for a new account on Windows.
+	* Fix file transfer with clients that do not support Entity Capabilities
+	  (e.g. Spark)
 
 version 2.6.4 (11/29/2009):
 	libpurple:
--- a/libpurple/protocols/jabber/si.c	Thu Jan 07 23:44:38 2010 +0000
+++ b/libpurple/protocols/jabber/si.c	Thu Jan 07 23:46:01 2010 +0000
@@ -1448,7 +1448,7 @@
 	g_free(xfer->who);
 	xfer->who = who;
 
-	if (jbr) {
+	if (jbr && jbr->caps.info) {
 		char *msg;
 
 		if (jabber_resource_has_capability(jbr, NS_IBB))