changeset 28781:6921cc1e704b

Use the jabber_resource_know_capabilities function to determine if a buddy supports entitiy caps when sending a file.
author Marcus Lundblad <ml@update.uu.se>
date Thu, 10 Dec 2009 21:34:37 +0000
parents ff0b7d7aeb5b
children 5e4fc3ab19dc ebba905f1971 d4ec9ba82814
files libpurple/protocols/jabber/si.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c	Thu Dec 10 05:40:59 2009 +0000
+++ b/libpurple/protocols/jabber/si.c	Thu Dec 10 21:34:37 2009 +0000
@@ -1448,7 +1448,7 @@
 	g_free(xfer->who);
 	xfer->who = who;
 
-	if (jbr && jbr->caps.info) {
+	if (jbr && jabber_resource_know_capabilities(jbr)) {
 		char *msg;
 
 		if (jabber_resource_has_capability(jbr, NS_IBB))