Mercurial > pidgin.yaz
changeset 13908:cab785a7c766
[gaim-migrate @ 16404]
Fix a small bug in oscar where the "Send File" option in the conversation
menu would be greyed out if the buddy is not in your buddy list. Thanks
to foo in #gaim for pointing this out, unbeknowest to him.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 02 Jul 2006 23:56:08 +0000 |
parents | cc60d0861337 |
children | 8264f52a1142 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Jul 02 22:13:06 2006 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jul 02 23:56:08 2006 +0000 @@ -6162,8 +6162,8 @@ * Don't allowing sending a file to a user that does not support * file transfer, and don't allow sending to ourselves. */ - if ((userinfo != NULL) && - (userinfo->capabilities & OSCAR_CAPABILITY_SENDFILE) && + if (((userinfo == NULL) || + (userinfo->capabilities & OSCAR_CAPABILITY_SENDFILE)) && aim_sncmp(who, gaim_account_get_username(account))) { return TRUE;