soc.2008.yahoo: 9a753e6b: Fix file transfer to a user not in buddy...
sulabh at soc.pidgin.im
sulabh at soc.pidgin.im
Sun Jul 13 10:53:09 EDT 2008
-----------------------------------------------------------------
Revision: 9a753e6b9d2389b3b7a87d60eebbe98228c2fb36
Ancestor: 6948f2bd4761c17e21efe7e3d7577f529ebe8491
Author: sulabh at soc.pidgin.im
Date: 2008-07-13T14:10:22
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/9a753e6b9d2389b3b7a87d60eebbe98228c2fb36
Modified files:
libpurple/protocols/yahoo/yahoo_filexfer.c
ChangeLog:
Fix file transfer to a user not in buddy list, defaulting to use v15
transfer method
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_filexfer.c 6862f59a7f3fa1411ba82b39b6ebef96e8f8f762
+++ libpurple/protocols/yahoo/yahoo_filexfer.c cfcdf673646054ec9d28f8f0b8232d7430901cbf
@@ -1050,7 +1050,10 @@ void yahoo_send_file(PurpleConnection *g
/* To determine if we should use yahoo p15 for transfer. Check other user's
* reported version, but if we're on Yahoo Japan, ignore it. */
if(yf && yf->version_id > 500000 && !yd->jp)
- ver = 15;
+ ver = 15;
+ /* Default to ver 15 if user isn't a friend */
+ if(!yf)
+ ver = 15;
g_return_if_fail(xfer != NULL);
More information about the Commits
mailing list