changeset 29161:166e0fc6bd8e

jabber: Fix file transfer with clients that don't support xep-0115. Closes #10936
author Paul Aurich <paul@darkrain42.org>
date Thu, 10 Dec 2009 03:25:14 +0000
parents 7c543cbf52c0
children ff0b7d7aeb5b
files ChangeLog libpurple/protocols/jabber/si.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 10 03:15:26 2009 +0000
+++ b/ChangeLog	Thu Dec 10 03:25:14 2009 +0000
@@ -16,6 +16,8 @@
 	  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:
--- a/libpurple/protocols/jabber/si.c	Thu Dec 10 03:15:26 2009 +0000
+++ b/libpurple/protocols/jabber/si.c	Thu Dec 10 03:25:14 2009 +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))