Mercurial > pidgin
comparison libpurple/protocols/jabber/si.c @ 28779: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 | 9ae3e70a327b |
children | 6921cc1e704b |
comparison
equal
deleted
inserted
replaced
28778:7c543cbf52c0 | 28779:166e0fc6bd8e |
---|---|
1446 who = g_strdup_printf("%s/%s", who_v[0], resource); | 1446 who = g_strdup_printf("%s/%s", who_v[0], resource); |
1447 g_strfreev(who_v); | 1447 g_strfreev(who_v); |
1448 g_free(xfer->who); | 1448 g_free(xfer->who); |
1449 xfer->who = who; | 1449 xfer->who = who; |
1450 | 1450 |
1451 if (jbr) { | 1451 if (jbr && jbr->caps.info) { |
1452 char *msg; | 1452 char *msg; |
1453 | 1453 |
1454 if (jabber_resource_has_capability(jbr, NS_IBB)) | 1454 if (jabber_resource_has_capability(jbr, NS_IBB)) |
1455 jsx->stream_method |= STREAM_METHOD_IBB; | 1455 jsx->stream_method |= STREAM_METHOD_IBB; |
1456 if (jabber_resource_has_capability(jbr, "http://jabber.org/protocol/si/profile/file-transfer")) { | 1456 if (jabber_resource_has_capability(jbr, "http://jabber.org/protocol/si/profile/file-transfer")) { |