Mercurial > pidgin
diff src/server.c @ 9647:687572cf09a6
[gaim-migrate @ 10495]
(13:40:54) datallah: LSchiere2: http://www.butfer.com/gaim-patches/1001419_bugfix.patch should fix
(13:40:54) datallah: 1001419 (the server.c change is optional at this point, but i think that the check should be done there)
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 02 Aug 2004 17:50:53 +0000 |
parents | c001be3c330e |
children | 4d05b6e9e9cd |
line wrap: on
line diff
--- a/src/server.c Mon Aug 02 15:37:09 2004 +0000 +++ b/src/server.c Mon Aug 02 17:50:53 2004 +0000 @@ -1605,6 +1605,9 @@ if (gc != NULL && gc->prpl != NULL) prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); - if (prpl_info && prpl_info->send_file) - prpl_info->send_file(gc, who, file); + if (prpl_info && prpl_info->send_file) { + if (!prpl_info->can_receive_file || prpl_info->can_receive_file(gc, who)) { + prpl_info->send_file(gc, who, file); + } + } }