pidgin: 23403faa: Use the jabber_resource_know_capabilitie...

malu at pidgin.im malu at pidgin.im
Thu Dec 10 16:40:47 EST 2009


-----------------------------------------------------------------
Revision: 23403faa17b752c8e88650199945fbd8843f3796
Ancestor: 74c2a132ab1954018974dfcb276a5d01f68cc540
Author: malu at pidgin.im
Date: 2009-12-10T21:34:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/23403faa17b752c8e88650199945fbd8843f3796

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

ChangeLog: 

Use the jabber_resource_know_capabilities function to determine if a buddy
supports entitiy caps when sending a file.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/si.c	13949ab5a82892daaf7fe1935d00b76e8ad9a8ca
+++ libpurple/protocols/jabber/si.c	04dcf15bf4537fe1f17570752ee39f81e49c6bb1
@@ -1448,7 +1448,7 @@ static void do_transfer_send(PurpleXfer 
 	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))


More information about the Commits mailing list